Sha256: 12fa654ce0d7bd4c3f9a66cbe0a2b3c8fe4c1759423f2a645c71dd0b35d1cafe

Contents?: true

Size: 490 Bytes

Versions: 5

Compression:

Stored size: 490 Bytes

Contents

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

module Fig; end
class Fig::Package; end

# A statement that specifies or modifies a path environment variable, e.g.
# "append", "path", "add" (though those are all synonyms).
class Fig::Package::Path
  include Fig::Package::Statement

  attr_reader :name, :value

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

  def unparse(indent)
    "#{indent}append #{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/path.rb
fig18-0.1.51-i386-mingw32 lib/fig/package/path.rb
fig18-0.1.51 lib/fig/package/path.rb
fig-0.1.51-java lib/fig/package/path.rb
fig-0.1.51 lib/fig/package/path.rb