Class: Yarrow::Schema::Types::Kind
- Defined in:
- lib/yarrow/schema/types.rb
Instance Attribute Summary
Attributes inherited from TypeClass
Instance Method Summary collapse
Methods inherited from TypeClass
#accept, #cast, #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
#check(input) ⇒ Object
134 135 136 137 |
# File 'lib/yarrow/schema/types.rb', line 134 def check(input) check_kind_of!(input) input end |