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.1.5 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.1.4 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.1.3 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.1.2 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.1.1 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.1.0 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.0.3 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.0.2 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.0.1 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-2.0.0 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-1.1.7 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-1.1.6 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-1.1.5 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-1.1.4 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-1.1.3 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-1.1.2 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-1.1.1 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-1.1.0 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-1.0.6 lib/terraspace/compiler/dsl/syntax/mod/data.rb
terraspace-1.0.5 lib/terraspace/compiler/dsl/syntax/mod/data.rb