Method: Invoicing::TimeDependent::ClassMethods#default_value_now

Defined in:
lib/invoicing/time_dependent.rb

#default_value_nowObject

Finds the current default record (like default_record_now), then returns the value of that record’s value column. If value was renamed to another_method_name (option to acts_as_time_dependent), then default_another_method_name_now is defined as an alias for default_value_now.



289
290
291
# File 'lib/invoicing/time_dependent.rb', line 289

def default_value_now
  default_value_at(Time.now)
end