Module: ZTK::DSL::Core::Actions::Timestamps::ClassMethods Private
- Defined in:
- lib/ztk/dsl/core/actions/timestamps.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary (collapse)
- - (Object) created_at_timestamp private
- - (Object) updated_at_timestamp private
Instance Method Details
- (Object) created_at_timestamp
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
24 25 26 |
# File 'lib/ztk/dsl/core/actions/timestamps.rb', line 24 def self.created_at ||= Time.now end |
- (Object) updated_at_timestamp
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
20 21 22 |
# File 'lib/ztk/dsl/core/actions/timestamps.rb', line 20 def self.updated_at = Time.now end |