lib/virtus/attribute/integer.rb in virtus-0.0.4 vs lib/virtus/attribute/integer.rb in virtus-0.0.5
- old
+ new
@@ -20,9 +20,11 @@
class Integer < Numeric
primitive ::Integer
# @see Virtus::Typecast::Numeric.to_i
#
+ # @return [Integer]
+ #
# @api private
def typecast_to_primitive(value)
Typecast::Numeric.to_i(value)
end