Class: Natsuzora::Contract::AST::Any
- Defined in:
- lib/natsuzora/contract/ast/any.rb
Overview
Any value (unconstrained).
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
14 15 16 |
# File 'lib/natsuzora/contract/ast/any.rb', line 14 def ==(other) other.is_a?(Any) end |
#to_h ⇒ Object
10 11 12 |
# File 'lib/natsuzora/contract/ast/any.rb', line 10 def to_h { 'kind' => 'any' } end |