Class: Lono::Template::Strategy::Dsl
- Inherits:
-
Base
- Object
- AbstractBase
- Base
- Lono::Template::Strategy::Dsl
- Defined in:
- lib/lono/template/strategy/dsl.rb,
lib/lono/template/strategy/dsl/builder.rb,
lib/lono/template/strategy/dsl/finalizer.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#results ⇒ Object
readonly
Returns the value of attribute results.
Instance Method Summary collapse
Methods inherited from AbstractBase
#initialize, #reinitialize, #template_path
Methods included from Blueprint::Root
#find_blueprint_root, #set_blueprint_root
Constructor Details
This class inherits a constructor from Lono::AbstractBase
Instance Attribute Details
#results ⇒ Object (readonly)
Returns the value of attribute results.
3 4 5 |
# File 'lib/lono/template/strategy/dsl.rb', line 3 def results @results end |
Instance Method Details
#build_template ⇒ Object
9 10 11 12 |
# File 'lib/lono/template/strategy/dsl.rb', line 9 def build_template builder = Builder.new(@options) builder.build end |
#run ⇒ Object
4 5 6 7 |
# File 'lib/lono/template/strategy/dsl.rb', line 4 def run puts "Generating CloudFormation templates for blueprint #{@blueprint.color(:green)}:" unless @options[:quiet] build_template end |