aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/type/unsigned_integer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/lib/active_model/type/unsigned_integer.rb')
-rw-r--r--activemodel/lib/active_model/type/unsigned_integer.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/activemodel/lib/active_model/type/unsigned_integer.rb b/activemodel/lib/active_model/type/unsigned_integer.rb
index 3f49f9f5f7..288fa23efe 100644
--- a/activemodel/lib/active_model/type/unsigned_integer.rb
+++ b/activemodel/lib/active_model/type/unsigned_integer.rb
@@ -3,13 +3,13 @@ module ActiveModel
class UnsignedInteger < Integer # :nodoc:
private
- def max_value
- super * 2
- end
+ def max_value
+ super * 2
+ end
- def min_value
- 0
- end
+ def min_value
+ 0
+ end
end
end
end