Class: Lycra::Types::Object
Instance Attribute Summary
Attributes inherited from Type
Class Method Summary collapse
Methods inherited from Type
#initialize, klasses, to_s, transform, #transform, type, #type, #valid?
Constructor Details
This class inherits a constructor from Lycra::Types::Type
Class Method Details
.valid?(value, required = false, nested = false) ⇒ Boolean
117 118 119 120 |
# File 'lib/lycra/types.rb', line 117 def self.valid?(value, required=false, nested=false) return true if super(value, required, nested) value.respond_to?(:to_h) end |