Sha256: 173514d0464a15ce8e0c7b0b992b36f926ca5bafd92dfd715f5893a47565ddb0

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

# Encoding: utf-8
# rubocop:disable Style/MethodMissing

module Packer
  class EnvVar
    def method_missing(method_name, *args)
      "{{env `#{method_name}`}}"
    end

    def respond_to_missing?(method_name, include_private = false)
      true
    end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
packer-config-1.6.1 lib/packer/envvar.rb