Module: ActsAsArchive::Base::Restore

Defined in:
lib/acts_as_archive/base/restore.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
# File 'lib/acts_as_archive/base/restore.rb', line 5

def self.included(base)
  unless base.included_modules.include?(InstanceMethods)
    base.send :extend, ClassMethods
    base.send :include, InstanceMethods
  end
end