Class: Notification
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Notification
- Defined in:
- lib/engine/app/models/notification.rb
Instance Method Summary collapse
Instance Method Details
#when ⇒ Object
4 5 6 |
# File 'lib/engine/app/models/notification.rb', line 4 def when created_at.localtime.strftime('%Y/%m/%d %H:%M') end |