Class: Rake::Funnel::Support::ArgumentMapper::Value

Inherits:
Object
  • Object
show all
Defined in:
lib/rake/funnel/support/argument_mapper/value.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Value

Returns a new instance of Value.



8
9
10
11
# File 'lib/rake/funnel/support/argument_mapper/value.rb', line 8

def initialize(value)
  @key = nil
  @value = value
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



6
7
8
# File 'lib/rake/funnel/support/argument_mapper/value.rb', line 6

def key
  @key
end

#valueObject (readonly)

Returns the value of attribute value.



6
7
8
# File 'lib/rake/funnel/support/argument_mapper/value.rb', line 6

def value
  @value
end