Sha256: db72a8927130c7daa236b54097d52a34c5e1af23963fe8a1dbd87bcdee126caa

Contents?: true

Size: 233 Bytes

Versions: 104

Compression:

Stored size: 233 Bytes

Contents

module Terraspace::Compiler::Dsl::Syntax::Mod
  module Data
    def data(type, name, props={})
      resource = @structure[:data] ||= {}
      resource_type = resource[type] ||= {}
      resource_type[name] = props
    end
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
terraspace-0.6.10 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.6.9 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.6.8 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.6.7 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.6.6 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.6.5 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.6.4 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.6.3 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.6.2 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.6.1 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.6.0 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.5.12 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.5.11 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.5.10 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.5.9 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.5.8 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.5.7 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.5.6 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.5.5 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-0.5.4 lib/terraspace/compiler/dsl/syntax/mod/data.rb