Class: Origen::Tester::Ultraflex::Parser::Flows
- Inherits:
-
Parser::SearchableArray
- Object
- Array
- Parser::SearchableArray
- Origen::Tester::Ultraflex::Parser::Flows
- Defined in:
- lib/origen/tester/ultraflex/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
Methods inherited from Parser::SearchableArray
Methods inherited from Array
#dups, #dups?, #dups_with_index, #ids
Constructor Details
#initialize(options = {}) ⇒ Flows
Returns a new instance of Flows.
8 9 10 |
# File 'lib/origen/tester/ultraflex/parser/flows.rb', line 8 def initialize( = {}) @parser = [:parser] end |
Instance Attribute Details
#parser ⇒ Object
Returns the value of attribute parser.
6 7 8 |
# File 'lib/origen/tester/ultraflex/parser/flows.rb', line 6 def parser @parser end |
Instance Method Details
#import(file) ⇒ Object
12 13 14 |
# File 'lib/origen/tester/ultraflex/parser/flows.rb', line 12 def import(file) self << Flow.new(file, parser: parser) end |
#inspect ⇒ Object
16 17 18 |
# File 'lib/origen/tester/ultraflex/parser/flows.rb', line 16 def inspect "<TestFlows: #{size}>" end |