Virtus::Coercer
Builds Struct-like instance with attributes passed to the constructor as a list of args rather than a hash
@private
@api public
# File lib/virtus/attribute/embedded_value.rb, line 16 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.