Class: Stupidedi::Builder::ConstraintTable::Stub
- Inherits:
-
Stupidedi::Builder::ConstraintTable
- Object
- Stupidedi::Builder::ConstraintTable
- Stupidedi::Builder::ConstraintTable::Stub
- Defined in:
- lib/stupidedi/builder/constraint_table.rb
Overview
Performs no filtering of the Instruction list. This is used when there already is a single Instruction or when a Reader::SegmentTok doesn’t provide any more information to filter the list.
Instance Method Summary collapse
-
#initialize(instructions) ⇒ Stub
constructor
A new instance of Stub.
- #matches(segment_tok, strict) ⇒ Array<Instruction>
Methods inherited from Stupidedi::Builder::ConstraintTable
Constructor Details
#initialize(instructions) ⇒ Stub
Returns a new instance of Stub.
29 30 31 |
# File 'lib/stupidedi/builder/constraint_table.rb', line 29 def initialize(instructions) @instructions = instructions end |
Instance Method Details
#matches(segment_tok, strict) ⇒ Array<Instruction>
34 35 36 |
# File 'lib/stupidedi/builder/constraint_table.rb', line 34 def matches(segment_tok, strict) @instructions end |