Class: Origen::Tester::Ultraflex::Parser::Flows

Inherits:
Parser::SearchableArray show all
Defined in:
lib/origen/tester/ultraflex/parser/flows.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from Parser::SearchableArray

#where

Methods inherited from Array

#dups, #dups?, #dups_with_index, #ids

Constructor Details

- (Flows) initialize(options = {})

Returns a new instance of Flows



8
9
10
# File 'lib/origen/tester/ultraflex/parser/flows.rb', line 8

def initialize(options = {})
  @parser = options[:parser]
end

Instance Attribute Details

- (Object) parser

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

- (Object) import(file)



12
13
14
# File 'lib/origen/tester/ultraflex/parser/flows.rb', line 12

def import(file)
  self << Flow.new(file, parser: parser)
end

- (Object) inspect



16
17
18
# File 'lib/origen/tester/ultraflex/parser/flows.rb', line 16

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