Method: Invoicing::TimeDependent#value_at
- Defined in:
- lib/invoicing/time_dependent.rb
#value_at(point_in_time) ⇒ Object
Finds this record’s replacement for a given point in time (see record_at
), then returns the value in its value
column. If value
was renamed to another_method_name
(option to acts_as_time_dependent
), then another_method_name_at
is defined as an alias for value_at
.
335 336 337 |
# File 'lib/invoicing/time_dependent.rb', line 335 def value_at(point_in_time) time_dependent_class_info.get(record_at(point_in_time), :value) end |