class Contentful::FloatCoercion

Coercion for Float Types

Public Instance Methods

coerce(*) click to toggle source

Coerces value to Float

# File lib/contentful/coercions.rb, line 44
def coerce(*)
  value.to_f
end