Class: Rake::Delphi::EnvVariable

Inherits:
Object
  • Object
show all
Defined in:
lib/rake/delphi/envvariables.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, value) ⇒ EnvVariable

Returns a new instance of EnvVariable.



9
10
11
# File 'lib/rake/delphi/envvariables.rb', line 9

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/rake/delphi/envvariables.rb', line 6

def name
  @name
end

#valueObject

Returns the value of attribute value.



7
8
9
# File 'lib/rake/delphi/envvariables.rb', line 7

def value
  @value
end