Module: Hatio::Userstamp

Defined in:
lib/hatio-core/active_record/userstamp.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



4
5
6
7
8
9
10
11
12
# File 'lib/hatio-core/active_record/userstamp.rb', line 4

def self.included(base) #:nodoc:
  super
  base.extend(ClassMethods)
  base.class_eval do
    include InstanceMethods        
    class_attribute :creator_attribute
    class_attribute :updater_attribute
  end
end