Class: Gluez::Resource::Step

Inherits:
Object
  • Object
show all
Defined in:
lib/gluez/resource.rb

Overview

A Step consist of a chunk of code and a check, to ensure the code has been applied successfully.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStep

Returns a new instance of Step.



16
17
18
# File 'lib/gluez/resource.rb', line 16

def initialize
  @checks = []
end

Instance Attribute Details

#checksObject

Returns the value of attribute checks.



15
16
17
# File 'lib/gluez/resource.rb', line 15

def checks
  @checks
end

#codeObject

Returns the value of attribute code.



15
16
17
# File 'lib/gluez/resource.rb', line 15

def code
  @code
end