Sha256: 60fcab1ed9541ba03e8a68cc364c3d3d6e37571a701c34f19f9e7d636f4de2aa

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 Bytes

Contents

module Kubes::Compiler::Dsl::Core
  class Base
    extend Fields
    include DslEvaluator
    include Helpers
    include Kubes::Compiler::Shared::CustomHelpers
    include Kubes::Compiler::Shared::CustomVariables
    include Kubes::Compiler::Shared::PluginHelpers

    def initialize(options={})
      @options = options
      @name = options[:name]
      @path = options[:path]
      load_plugin_helpers
      load_custom_variables
      load_custom_helpers
    end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kubes-0.7.0 lib/kubes/compiler/dsl/core/base.rb