Module: Glue::Timestamped
- Includes:
- Aspects
- Defined in:
- lib/glue/timestamped.rb
Overview
Adds timestamping functionality. – TODO: add an initialize method that inits times before saving? ++
Instance Method Summary collapse
Instance Method Details
#touch! ⇒ Object
22 23 24 |
# File 'lib/glue/timestamped.rb', line 22 def touch! @access_time = Time.now end |