Module: ActsAsArchive::Base
- Defined in:
- lib/acts_as_archive.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
79 80 81 82 83 84 |
# File 'lib/acts_as_archive.rb', line 79 def self.included(base) unless base.included_modules.include?(InstanceMethods) base.extend ClassMethods base.send :include, InstanceMethods end end |