Class: Warder::ArubaApp

Inherits:
Object
  • Object
show all
Defined in:
lib/warder/aruba_app.rb

Overview

responsible for aruba cli app test integration

Direct Known Subclasses

CLI

Instance Method Summary collapse

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

#executeObject



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