Sha256: 95a20f2fd027b23600dd7cd036abe3017e1f3f1617a0acd71a41a9c1f50b9414

Contents?: true

Size: 256 Bytes

Versions: 13

Compression:

Stored size: 256 Bytes

Contents

module Terraspace::Compiler::Erb
  class Context
    include Terraspace::Compiler::Dsl::Syntax::Mod

    attr_reader :mod, :options
    def initialize(mod)
      @mod = mod
      @options = mod.options # so user has access to cli options
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
terraspace-0.3.4 lib/terraspace/compiler/erb/context.rb
terraspace-0.3.3 lib/terraspace/compiler/erb/context.rb
terraspace-0.3.2 lib/terraspace/compiler/erb/context.rb
terraspace-0.3.1 lib/terraspace/compiler/erb/context.rb
terraspace-0.3.0 lib/terraspace/compiler/erb/context.rb
terraspace-0.2.4 lib/terraspace/compiler/erb/context.rb
terraspace-0.2.3 lib/terraspace/compiler/erb/context.rb
terraspace-0.2.2 lib/terraspace/compiler/erb/context.rb
terraspace-0.2.1 lib/terraspace/compiler/erb/context.rb
terraspace-0.2.0 lib/terraspace/compiler/erb/context.rb
terraspace-0.1.2 lib/terraspace/compiler/erb/context.rb
terraspace-0.1.1 lib/terraspace/compiler/erb/context.rb
terraspace-0.1.0 lib/terraspace/compiler/erb/context.rb