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