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-2.2.17 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.16 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.15 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.14 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.13 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.12 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.11 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.10 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.9 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.8 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.7 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.6 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.5 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.4 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.3 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.2 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.1 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.2.0 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.1.7 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.1.6 lib/terraspace/compiler/dsl/syntax/mod/data.rb