Module: Terraspace::Compiler::Dsl::Syntax::Mod::Module
- Defined in:
- lib/terraspace/compiler/dsl/syntax/mod/module.rb
Instance Method Summary collapse
- #module!(name, props = {}) ⇒ Object (also: #mod, #module)
Instance Method Details
#module!(name, props = {}) ⇒ Object Also known as: mod, module
3 4 5 6 |
# File 'lib/terraspace/compiler/dsl/syntax/mod/module.rb', line 3 def module!(name, props={}) output = @structure[:module] ||= {} output[name] = props end |