Class: Warder::ArubaApp
- Inherits:
-
Object
- Object
- Warder::ArubaApp
- Defined in:
- lib/warder/aruba_app.rb
Overview
responsible for aruba cli app test integration
Direct Known Subclasses
Instance Method Summary collapse
- #execute ⇒ Object
- #execute! ⇒ Object
-
#initialize(argv, stdin = STDIN, stdout = STDOUT, stderr = STDERR, kernel = Kernel) ⇒ ArubaApp
constructor
A new instance of ArubaApp.
Constructor Details
#initialize(argv, stdin = STDIN, stdout = STDOUT, stderr = STDERR, kernel = Kernel) ⇒ ArubaApp
Returns a new instance of ArubaApp.
4 5 6 7 8 9 10 11 |
# File 'lib/warder/aruba_app.rb', line 4 def initialize(argv, stdin = STDIN, stdout = STDOUT, stderr = STDERR, kernel = Kernel) @stdin = stdin @stdout = stdout @stderr = stderr @kernel = kernel argv end |
Instance Method Details
#execute ⇒ Object
17 18 |
# File 'lib/warder/aruba_app.rb', line 17 def execute end |
#execute! ⇒ Object
13 14 15 |
# File 'lib/warder/aruba_app.rb', line 13 def execute! @kernel.exit execute || 0 end |