Class: OrigenDebuggers::Base::OnCreateCaller
- Inherits:
-
Object
- Object
- OrigenDebuggers::Base::OnCreateCaller
- Includes:
- Origen::Callbacks
- Defined in:
- lib/origen_debuggers/base.rb
Overview
Testers don't listen for callbacks
Instance Method Summary collapse
-
#initialize(tester) ⇒ OnCreateCaller
constructor
A new instance of OnCreateCaller.
- #on_create ⇒ Object
Constructor Details
#initialize(tester) ⇒ OnCreateCaller
Returns a new instance of OnCreateCaller
10 11 12 |
# File 'lib/origen_debuggers/base.rb', line 10 def initialize(tester) @tester = tester end |
Instance Method Details
#on_create ⇒ Object
14 15 16 |
# File 'lib/origen_debuggers/base.rb', line 14 def on_create @tester.on_create if @tester.respond_to?(:on_create) end |