Module: Terraspace::Compiler::Dsl::Syntax::Mod::Output

Defined in:
lib/terraspace/compiler/dsl/syntax/mod/output.rb

Instance Method Summary collapse

Instance Method Details

#output(name, props = {}) ⇒ Object



3
4
5
6
# File 'lib/terraspace/compiler/dsl/syntax/mod/output.rb', line 3

def output(name, props={})
  output = @structure[:output] ||= {}
  output[name] = props
end