Class: Nobbie::Wx::ApplicationLauncher
- Inherits:
-
Object
- Object
- Nobbie::Wx::ApplicationLauncher
- Defined in:
- lib/nobbie/wx/application_launcher.rb
Overview
:nodoc:
Constant Summary collapse
- AUT_NOT_WX_APP =
"application_under_test must be an instance of a Wx::App"
Instance Method Summary collapse
-
#initialize(application_under_test) ⇒ ApplicationLauncher
constructor
A new instance of ApplicationLauncher.
- #run ⇒ Object
Constructor Details
#initialize(application_under_test) ⇒ ApplicationLauncher
Returns a new instance of ApplicationLauncher.
22 23 24 25 |
# File 'lib/nobbie/wx/application_launcher.rb', line 22 def initialize(application_under_test) @app = application_under_test Kernel.raise(AUT_NOT_WX_APP) unless @app.is_a?(Wxruby2::App) end |
Instance Method Details
#run ⇒ Object
27 28 29 30 31 32 |
# File 'lib/nobbie/wx/application_launcher.rb', line 27 def run start set_top_window_for_use_in_operations Thread.pass stop end |