Module: ChainGang

Defined in:
lib/chaingang/proxy.rb,
lib/chaingang/chaingang.rb

Defined Under Namespace

Modules: ClassMethods Classes: Proxy

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
5
6
7
# File 'lib/chaingang/chaingang.rb', line 2

def self.included(base)
  base.extend ChainGang::ClassMethods
  class << base
    alias_method_chain :find, :chaingang
  end
end