Class: OrigenDebuggers::Base::OnCreateCaller

Inherits:
Object
  • Object
show all
Includes:
Origen::Callbacks
Defined in:
lib/origen_debuggers/base.rb

Overview

Testers don't listen for callbacks

Instance Method Summary collapse

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_createObject



14
15
16
# File 'lib/origen_debuggers/base.rb', line 14

def on_create
  @tester.on_create if @tester.respond_to?(:on_create)
end