Class: Kiel::Setup::Mock

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

Instance Method Summary collapse

Instance Method Details

#execute(step, server) ⇒ Object



4
5
6
7
8
# File 'lib/kiel/setup/mock.rb', line 4

def execute step, server
    @steps ||= []
    @steps << step[ :setup_name ]
    @last_step_data = step
end

#executed_stepsObject



10
11
12
# File 'lib/kiel/setup/mock.rb', line 10

def executed_steps
    @steps || []
end

#last_step_dataObject



14
15
16
# File 'lib/kiel/setup/mock.rb', line 14

def last_step_data
    @last_step_data
end