Sha256: 34486101342c1ae05cc725cf48c98339010ecf9dbcfe636301f7983228b0239e

Contents?: true

Size: 312 Bytes

Versions: 12

Compression:

Stored size: 312 Bytes

Contents

module TerraspaceBundler
  class Dsl
    include DslEvaluator
    include Syntax

    class_attribute :meta, default: {global: {}, mods: []}

    def run
      evaluate_file(TB.config.terrafile)
      self
    end

    def meta
      self.class.meta
    end

    def global
      meta[:global]
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
terraspace-bundler-0.5.0 lib/terraspace_bundler/dsl.rb
terraspace-bundler-0.4.4 lib/terraspace_bundler/dsl.rb
terraspace-bundler-0.4.3 lib/terraspace_bundler/dsl.rb
terraspace-bundler-0.4.2 lib/terraspace_bundler/dsl.rb
terraspace-bundler-0.4.1 lib/terraspace_bundler/dsl.rb
terraspace-bundler-0.4.0 lib/terraspace_bundler/dsl.rb
terraspace-bundler-0.3.4 lib/terraspace_bundler/dsl.rb
terraspace-bundler-0.3.3 lib/terraspace_bundler/dsl.rb
terraspace-bundler-0.3.2 lib/terraspace_bundler/dsl.rb
terraspace-bundler-0.3.1 lib/terraspace_bundler/dsl.rb
terraspace-bundler-0.3.0 lib/terraspace_bundler/dsl.rb
terraspace-bundler-0.2.0 lib/terraspace_bundler/dsl.rb