class Contentful::IntegerCoercion
Coercion for Integer Types
Public Instance Methods
Source
# File lib/contentful/coercions.rb, line 36 def coerce(*) value.to_i end
Coerces value to Integer
Coercion for Integer Types
# File lib/contentful/coercions.rb, line 36 def coerce(*) value.to_i end
Coerces value to Integer