class Formatron::DSL
context for evaluating the Formatronfile
Attributes
config[R]
formatron[R]
target[R]
Public Class Methods
new(file:, config:, target:, external:, aws:)
click to toggle source
# 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