Class: Yoda::Model::Types::Base Abstract
- Inherits:
-
Object
- Object
- Yoda::Model::Types::Base
- Defined in:
- lib/yoda/model/types/base.rb
Overview
This class is abstract.
Direct Known Subclasses
AnyType, DuckType, FunctionType, GenericType, InstanceType, ModuleType, SequenceType, UnionType, UnknownType, ValueType
Instance Method Summary collapse
- #==(another) ⇒ Object
- #change_root(paths) ⇒ Base abstract
- #map {|_self| ... } ⇒ Base
- #resolve(registry) ⇒ Array<Store::Objects::Base> abstract
- #to_s ⇒ String abstract
Instance Method Details
#==(another) ⇒ Object
6 7 8 |
# File 'lib/yoda/model/types/base.rb', line 6 def ==(another) eql?(another) end |
#change_root(paths) ⇒ Base
This method is abstract.
13 14 15 |
# File 'lib/yoda/model/types/base.rb', line 13 def change_root(paths) fail NotImplementedError end |
#map {|_self| ... } ⇒ Base
31 32 33 |
# File 'lib/yoda/model/types/base.rb', line 31 def map yield self end |
#resolve(registry) ⇒ Array<Store::Objects::Base>
This method is abstract.
20 21 22 |
# File 'lib/yoda/model/types/base.rb', line 20 def resolve(registry) fail NotImplementedError end |
#to_s ⇒ String
This method is abstract.
26 27 28 |
# File 'lib/yoda/model/types/base.rb', line 26 def to_s fail NotImplementedError end |