Module: Accountable::Accountee

Defined in:
lib/accountable/accountee.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/accountable/accountee.rb', line 3

def self.included( base )
  unless included_modules.include? InstanceMethods
    base.extend ClassMethods
    base.extend CurrentMethods
    base.class_eval { include InstanceMethods }
  end
end