Module: Terraspace::Compiler::Dsl::Syntax::Mod::Provider

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

Instance Method Summary collapse

Instance Method Details

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



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

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