Module: Accountable::Accountor

Defined in:
lib/accountable/accountor.rb,
lib/accountable/accountor/states.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods, States

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/accountable/accountor.rb', line 5

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