Class: Roasted::Roaster
- Inherits:
-
Object
- Object
- Roasted::Roaster
- Defined in:
- lib/roasted/roaster.rb
Defined Under Namespace
Classes: Parser
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options) ⇒ Roaster
constructor
A new instance of Roaster.
Constructor Details
#initialize(options) ⇒ Roaster
Returns a new instance of Roaster.
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/roasted/roaster.rb', line 8 def initialize() @options = # Load DSL parser = Parser.new parser.instance_eval(File.read([:config]), [:config]) parser.runlist.each do |run| # Only action at this point, install run.install end end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/roasted/roaster.rb', line 6 def @options end |