Sha256: 9cdc2a7cc503feab3d2fa7d76128ed6cbd78eda44e063e1866e84e1d496cad03

Contents?: true

Size: 258 Bytes

Versions: 8

Compression:

Stored size: 258 Bytes

Contents

# Encoding: utf-8
module Packer
  class EnvVar
    def method_missing(method_name, *args)
      "{{env `#{method_name}`}}"
    end

    def respond_to?(symbol, include_private=false)
      # We literally respond to everything...
      true
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
packer-config-1.6.0 lib/packer/envvar.rb
packer-config-1.5.0 lib/packer/envvar.rb
packer-config-1.4.0 lib/packer/envvar.rb
packer-config-1.3.1 lib/packer/envvar.rb
packer-config-1.3.0 lib/packer/envvar.rb
packer-config-1.2.0 lib/packer/envvar.rb
packer-config-1.1.0 lib/packer/envvar.rb
packer-config-1.0.0 lib/packer/envvar.rb