Method: Invoicing::TimeDependent#record_now
- Defined in:
- lib/invoicing/time_dependent.rb
#record_now ⇒ Object
Returns self if this record is currently valid, otherwise its past or future replacement (see record_at
). If there is no valid replacement, nil is returned.
328 329 330 |
# File 'lib/invoicing/time_dependent.rb', line 328 def record_now record_at Time.now end |