module Minidoc::Timestamps::ClassMethods
Public Instance Methods
timestamps!()
click to toggle source
# File lib/minidoc/timestamps.rb, line 11 def timestamps! self.record_timestamps = true attribute :created_at, Time attribute :updated_at, Time end