Method: Formatron::DSL#initialize
- Defined in:
- lib/formatron/dsl.rb
#initialize(file:, config:, target:, external:, aws:) ⇒ DSL
Returns a new instance of DSL.
8 9 10 11 12 13 |
# File 'lib/formatron/dsl.rb', line 8 def initialize(file:, config:, target:, external:, aws:) @formatron = Formatron.new external: external, aws: aws @config = config @target = target instance_eval File.read(file), file end |