Sha256: d76b9bc26b0b5b0202ca42ce5b548bbfac1f5cf96d16549bebd39ed29b9a1011
Contents?: true
Size: 354 Bytes
Versions: 3
Compression:
Stored size: 354 Bytes
Contents
require 'fig/statement' module Fig; end # A statement that sets the value of an environment variable. class Fig::Statement::Set < Fig::Statement attr_reader :name, :value def initialize(line_column, name, value) super(line_column) @name = name @value = value end def unparse(indent) "#{indent}set #{name}=#{value}" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fig-0.1.62 | lib/fig/statement/set.rb |
fig-0.1.61 | lib/fig/statement/set.rb |
fig-0.1.59 | lib/fig/statement/set.rb |