Class: Varar::Core::ResolvedSteps
- Inherits:
-
Data
- Object
- Data
- Varar::Core::ResolvedSteps
- Defined in:
- lib/varar/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.
19 20 21 |
# File 'lib/varar/core/matcher.rb', line 19 def initialize(kind:, steps: [], collisions: []) super end |
Instance Attribute Details
#collisions ⇒ Object (readonly)
Returns the value of attribute collisions
18 19 20 |
# File 'lib/varar/core/matcher.rb', line 18 def collisions @collisions end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
18 19 20 |
# File 'lib/varar/core/matcher.rb', line 18 def kind @kind end |
#steps ⇒ Object (readonly)
Returns the value of attribute steps
18 19 20 |
# File 'lib/varar/core/matcher.rb', line 18 def steps @steps end |