Class: Yarrow::Schema::Types::Any

Inherits:
TypeClass
  • Object
show all
Defined in:
lib/yarrow/schema/types.rb

Instance Attribute Summary

Attributes inherited from TypeClass

#accepts, #unit

Instance Method Summary collapse

Methods inherited from TypeClass

#accept, #check_instance_of!, #check_kind_of!, #check_respond_to_all!, #check_respond_to_any!, #coerce, #initialize, of, #should_coerce?, #|

Constructor Details

This class inherits a constructor from Yarrow::Schema::Types::TypeClass

Instance Method Details

#cast(input, context = nil) ⇒ Object



121
122
123
# File 'lib/yarrow/schema/types.rb', line 121

def cast(input, context=nil)
  input
end