Class: OrigenTesters::IGXLBasedTester::Parser::Flows

Inherits:
Parser::SearchableArray
  • Object
show all
Defined in:
lib/origen_testers/igxl_based_tester/parser/flows.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options = {})
  @parser = options[:parser]
end

Instance Attribute Details

#parserObject

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

#inspectObject



15
16
17
# File 'lib/origen_testers/igxl_based_tester/parser/flows.rb', line 15

def inspect
  "<TestFlows: #{size}>"
end