Class: WorkingHours::DurationProxy

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valueObject

Returns the value of attribute value.



6
7
8
# File 'lib/working_hours/duration_proxy.rb', line 6

def value
  @value
end