Class: OrigenTesters::IGXLBasedTester::Parser::Flows
- Inherits:
-
Parser::SearchableArray
- Object
- Parser::SearchableArray
- OrigenTesters::IGXLBasedTester::Parser::Flows
- Defined in:
- lib/origen_testers/igxl_based_tester/parser/flows.rb
Instance Attribute Summary collapse
-
#parser ⇒ Object
Returns the value of attribute parser.
Instance Method Summary collapse
- #import(file) ⇒ Object
-
#initialize(options = {}) ⇒ Flows
constructor
A new instance of Flows.
- #inspect ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Flows
Returns a new instance of Flows.
7 8 9 |
# File 'lib/origen_testers/igxl_based_tester/parser/flows.rb', line 7 def initialize( = {}) @parser = [:parser] end |
Instance Attribute Details
#parser ⇒ Object
Returns the value of attribute parser.
5 6 7 |
# File 'lib/origen_testers/igxl_based_tester/parser/flows.rb', line 5 def parser @parser end |
Instance Method Details
#import(file) ⇒ Object
11 12 13 |
# File 'lib/origen_testers/igxl_based_tester/parser/flows.rb', line 11 def import(file) self << Flow.new(file, parser: parser) end |
#inspect ⇒ Object
15 16 17 |
# File 'lib/origen_testers/igxl_based_tester/parser/flows.rb', line 15 def inspect "<TestFlows: #{size}>" end |