Class: OrigenTesters::IGXLBasedTester::Base::Flow::FlowLineAPI
- Inherits:
-
Object
- Object
- OrigenTesters::IGXLBasedTester::Base::Flow::FlowLineAPI
- Defined in:
- lib/origen_testers/igxl_based_tester/base/flow.rb
Instance Method Summary collapse
-
#initialize(flow) ⇒ FlowLineAPI
constructor
A new instance of FlowLineAPI.
- #method_missing(method, *args, &block) ⇒ Object
- #respond_to?(method) ⇒ Boolean
Constructor Details
#initialize(flow) ⇒ FlowLineAPI
Returns a new instance of FlowLineAPI.
18 19 20 |
# File 'lib/origen_testers/igxl_based_tester/base/flow.rb', line 18 def initialize(flow) @flow = flow end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
22 23 24 25 26 27 28 29 30 |
# File 'lib/origen_testers/igxl_based_tester/base/flow.rb', line 22 def method_missing(method, *args, &block) if Base::FlowLine::DEFAULTS.key?(method.to_sym) line = @flow.platform::FlowLine.new(method, *args) @flow.render(line) line else super end end |