class Contentful::ArrayCoercion
Coercion for Array
Types
Public Instance Methods
coerce(*)
click to toggle source
Coerces value for each element
# File lib/contentful/coercions.rb, line 95 def coerce(*) value.map do |e| options[:coercion_class].new(e).coerce end end