Sha256: 0ebdfd5e3edc05419493d20bab2cd67b90b587be1253c9d5ad75aebd074c4fb5

Contents?: true

Size: 410 Bytes

Versions: 25

Compression:

Stored size: 410 Bytes

Contents

module Kubes::Compiler::Dsl::Core
  class Base
    extend Fields
    include DslEvaluator
    include Helpers
    include Kubes::Compiler::Shared::RuntimeHelpers

    def initialize(options={})
      @options = options
      @name = options[:name]
      @path = options[:path]
      load_runtime_helpers
    end

    def run
      evaluate_file(@path) # main resource definition
      result
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
kubes-0.9.3 lib/kubes/compiler/dsl/core/base.rb
kubes-0.9.2 lib/kubes/compiler/dsl/core/base.rb
kubes-0.9.1 lib/kubes/compiler/dsl/core/base.rb
kubes-0.9.0 lib/kubes/compiler/dsl/core/base.rb
kubes-0.8.10 lib/kubes/compiler/dsl/core/base.rb
kubes-0.8.9 lib/kubes/compiler/dsl/core/base.rb
kubes-0.8.8 lib/kubes/compiler/dsl/core/base.rb
kubes-0.8.7 lib/kubes/compiler/dsl/core/base.rb
kubes-0.8.6 lib/kubes/compiler/dsl/core/base.rb
kubes-0.8.5 lib/kubes/compiler/dsl/core/base.rb
kubes-0.8.4 lib/kubes/compiler/dsl/core/base.rb
kubes-0.8.3 lib/kubes/compiler/dsl/core/base.rb
kubes-0.8.2 lib/kubes/compiler/dsl/core/base.rb
kubes-0.8.1 lib/kubes/compiler/dsl/core/base.rb
kubes-0.8.0 lib/kubes/compiler/dsl/core/base.rb
kubes-0.7.10 lib/kubes/compiler/dsl/core/base.rb
kubes-0.7.9 lib/kubes/compiler/dsl/core/base.rb
kubes-0.7.8 lib/kubes/compiler/dsl/core/base.rb
kubes-0.7.7 lib/kubes/compiler/dsl/core/base.rb
kubes-0.7.6 lib/kubes/compiler/dsl/core/base.rb