Class: Confer::Recipe::Step
- Inherits:
-
Object
- Object
- Confer::Recipe::Step
- Defined in:
- lib/confer/recipe.rb
Overview
Internal: Encapsulates a single step in a recipe.
Instance Attribute Summary collapse
-
#configurator ⇒ Object
readonly
Public: A String containing the name of the configurator.
-
#options ⇒ Object
readonly
Public: A Hash containing the configurator options.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Step
constructor
Internal: Initialize a new Step with configuration.
Constructor Details
#initialize(*args) ⇒ Step
Internal: Initialize a new Step with configuration.
args - An array contaning the configurator name and a Hash containing
the configurator options.
78 79 80 81 |
# File 'lib/confer/recipe.rb', line 78 def initialize(*args) @options = args. @configurator = args.first end |
Instance Attribute Details
#configurator ⇒ Object (readonly)
Public: A String containing the name of the configurator.
65 66 67 |
# File 'lib/confer/recipe.rb', line 65 def configurator @configurator end |
#options ⇒ Object (readonly)
Public: A Hash containing the configurator options.
70 71 72 |
# File 'lib/confer/recipe.rb', line 70 def @options end |