Class: WorkingHours::DurationProxy
- Inherits:
-
Object
- Object
- WorkingHours::DurationProxy
- Defined in:
- lib/working_hours/duration_proxy.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ DurationProxy
constructor
A new instance of DurationProxy.
Constructor Details
#initialize(value) ⇒ DurationProxy
Returns a new instance of DurationProxy.
8 9 10 |
# File 'lib/working_hours/duration_proxy.rb', line 8 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
6 7 8 |
# File 'lib/working_hours/duration_proxy.rb', line 6 def value @value end |