Module: Interlock::Finders

Child modules and classes

Module Interlock::Finders::ClassMethods

Public Class Methods


included (klass)

    # File lib/interlock/finders.rb, line 4
 4:     def self.included(klass)
 5:       class << klass
 6:         alias_method :find_via_db, :find
 7:         remove_method :find
 8:       end
 9:       
10:       klass.extend ClassMethods
11:     end