Class: EC2Launcher::DSL::ConfigDSL
- Inherits:
-
Object
- Object
- EC2Launcher::DSL::ConfigDSL
- Defined in:
- lib/ec2launcher/dsl/config.rb
Instance Attribute Summary collapse
-
#config(&block) ⇒ Object
readonly
Returns the value of attribute config.
Class Method Summary collapse
Instance Attribute Details
#config(&block) ⇒ Object (readonly)
Returns the value of attribute config.
9 10 11 |
# File 'lib/ec2launcher/dsl/config.rb', line 9 def config @config end |
Class Method Details
.execute(dsl) ⇒ Object
19 20 21 22 23 |
# File 'lib/ec2launcher/dsl/config.rb', line 19 def self.execute(dsl) new.tap do |context| context.instance_eval(dsl) end end |