Module: RPCMapper::Scopes

Included in:
Base
Defined in:
lib/rpc_mapper/scopes/conditions.rb,
lib/rpc_mapper/scopes.rb

Overview

TRP: Implementation of this feature was heavily influenced by binarylogic’s Searchlogic-2.4.19

> github.com/binarylogic/searchlogic

It is designed to mimick much of the API of searchlogic so that it can be used alongside AR objects utilizing Searchlogic
without developer confusion.  There are certain features that are skipped because of the nature of RPCMapper.

Defined Under Namespace

Modules: ClassMethods, Conditions, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



38
39
40
41
42
43
# File 'lib/rpc_mapper/scopes.rb', line 38

def self.included(receiver)
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
  
  receiver.extend Conditions
end