Module: Auditable::Auditor

Defined in:
lib/auditable/auditor.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
# File 'lib/auditable/auditor.rb', line 4

def self.included(base)
  base.module_eval do
    attr_accessor :audited_attribute_changes
  end
  base.extend ClassMethods
end