Virtus::Coercer
Builds OpenStruct-like instance with attributes passed to the constructor as a hash
@private
@api public
# File lib/virtus/attribute/embedded_value.rb, line 33 def call(input) if input.kind_of?(primitive) input elsif not input.nil? primitive.new(input) end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.