module ZTK::DSL::Core::Actions::Timestamps

@author Zachary Patten <zpatten AT jovelabs DOT io> @api private

Public Class Methods

included(base) click to toggle source
# File lib/ztk/dsl/core/actions/timestamps.rb, line 7
def self.included(base)
  base.class_eval do
    base.send(:extend, ZTK::DSL::Core::Actions::Timestamps::ClassMethods)
  end
  base.instance_eval do
    attribute :created_at
    attribute :updated_at
  end
end