Module: Solid::Result::Contract::Interface
- Included in:
- Disabled, Evaluator, ForTypes, ForTypesAndValues
- Defined in:
- lib/solid/result/contract/interface.rb
Instance Method Summary collapse
- #allowed_types ⇒ Object
- #type!(_type) ⇒ Object
- #type?(_type) ⇒ Boolean
- #type_and_value!(_data) ⇒ Object
Instance Method Details
#allowed_types ⇒ Object
5 6 7 |
# File 'lib/solid/result/contract/interface.rb', line 5 def allowed_types raise Error::NotImplemented end |
#type!(_type) ⇒ Object
13 14 15 |
# File 'lib/solid/result/contract/interface.rb', line 13 def type!(_type) raise Error::NotImplemented end |
#type?(_type) ⇒ Boolean
9 10 11 |
# File 'lib/solid/result/contract/interface.rb', line 9 def type?(_type) raise Error::NotImplemented end |
#type_and_value!(_data) ⇒ Object
17 18 19 |
# File 'lib/solid/result/contract/interface.rb', line 17 def type_and_value!(_data) raise Error::NotImplemented end |