Class: Properties::Value

Inherits:
Object
  • Object
show all
Defined in:
lib/properties.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value, property) ⇒ Value

Returns a new instance of Value.



20
21
22
23
# File 'lib/properties.rb', line 20

def initialize value, property
  @value = value
  @property = property
end

Instance Attribute Details

#propertyObject (readonly)

Returns the value of attribute property.



17
18
19
# File 'lib/properties.rb', line 17

def property
  @property
end

#valueObject

Returns the value of attribute value.



18
19
20
# File 'lib/properties.rb', line 18

def value
  @value
end