Module: Solid::Result::Contract::Interface

Included in:
Disabled, Evaluator, ForTypes, ForTypesAndValues
Defined in:
lib/solid/result/contract/interface.rb

Instance Method Summary collapse

Instance Method Details

#allowed_typesObject



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

Returns:

  • (Boolean)

Raises:



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