Class: Oselvar::Var::Core::ResolvedSteps
- Inherits:
-
Data
- Object
- Data
- Oselvar::Var::Core::ResolvedSteps
- Defined in:
- lib/oselvar/var/core/matcher.rb
Overview
Tagged result of resolve_hits: kind "ok" (steps) or "ambiguous" (collisions).
Instance Attribute Summary collapse
-
#collisions ⇒ Object
readonly
Returns the value of attribute collisions.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#steps ⇒ Object
readonly
Returns the value of attribute steps.
Instance Method Summary collapse
-
#initialize(kind:, steps: [], collisions: []) ⇒ ResolvedSteps
constructor
A new instance of ResolvedSteps.
Constructor Details
#initialize(kind:, steps: [], collisions: []) ⇒ ResolvedSteps
Returns a new instance of ResolvedSteps.
20 21 22 |
# File 'lib/oselvar/var/core/matcher.rb', line 20 def initialize(kind:, steps: [], collisions: []) super end |
Instance Attribute Details
#collisions ⇒ Object (readonly)
Returns the value of attribute collisions
19 20 21 |
# File 'lib/oselvar/var/core/matcher.rb', line 19 def collisions @collisions end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
19 20 21 |
# File 'lib/oselvar/var/core/matcher.rb', line 19 def kind @kind end |
#steps ⇒ Object (readonly)
Returns the value of attribute steps
19 20 21 |
# File 'lib/oselvar/var/core/matcher.rb', line 19 def steps @steps end |