Module: ArAdapter

Included in:
User
Defined in:
lib/models/ar_adapter.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
5
# File 'lib/models/ar_adapter.rb', line 2

def self.included(base)
  base.extend ClassMethods
  base.class_eval { include ArAdapter::InstanceMethods }
end