Method: Applb::DSL#initialize
- Defined in:
- lib/applb/dsl.rb
#initialize(filepath, options, &block) ⇒ DSL
19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/applb/dsl.rb', line 19 def initialize(filepath, ,&block) @filepath = filepath @result = OpenStruct.new(ec2s: {}) @context = Hashie::Mash.new( filepath: filepath, templates: {}, options: , ) instance_eval(&block) end |