Sha256: 25b710f469ce87cbca59b7414a516fe37b69da12b3d05c71a8f59d9e1f7acfcd

Contents?: true

Size: 414 Bytes

Versions: 5

Compression:

Stored size: 414 Bytes

Contents

require 'fig/logging'
require 'fig/packageerror'
require 'fig/package/statement'

module Fig; end
class Fig::Package; end

# A statement that sets the value of an environment variable.
class Fig::Package::Set
  include Fig::Package::Statement

  attr_reader :name, :value

  def initialize(name, value)
    @name = name
    @value = value
  end

  def unparse(indent)
    "#{indent}set #{name}=#{value}"
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
fig18-0.1.51-i386-mswin32 lib/fig/package/set.rb
fig18-0.1.51-i386-mingw32 lib/fig/package/set.rb
fig18-0.1.51 lib/fig/package/set.rb
fig-0.1.51-java lib/fig/package/set.rb
fig-0.1.51 lib/fig/package/set.rb