Class: Aruba::Setup

Inherits:
Object
  • Object
show all
Defined in:
lib/aruba/setup.rb

Instance Method Summary collapse

Constructor Details

#initialize(runtime) ⇒ Setup

Returns a new instance of Setup.



9
10
11
# File 'lib/aruba/setup.rb', line 9

def initialize(runtime)
  @runtime = runtime
end

Instance Method Details

#callObject



13
14
15
16
17
18
19
20
21
22
# File 'lib/aruba/setup.rb', line 13

def call
  return if runtime.setup_already_done?

  working_directory
  events

  runtime.setup_done

  self
end