Class: Bricolage::CommonApplicationOptions::OptionValue

Inherits:
Struct
  • Object
show all
Defined in:
lib/bricolage/application.rb,
lib/bricolage/application.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#locationObject

Returns the value of attribute location

Returns:

  • (Object)

    the current value of location



176
177
178
# File 'lib/bricolage/application.rb', line 176

def location
  @location
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



176
177
178
# File 'lib/bricolage/application.rb', line 176

def value
  @value
end

Instance Method Details

#inspectObject



178
179
180
181
182
183
184
# File 'lib/bricolage/application.rb', line 178

def inspect
  if location
    "#{value.inspect} (#{location})"
  else
    value.inspect
  end
end