Module: MongoMapper::Search

Extended by:
ActiveSupport::Concern
Defined in:
lib/mongomapper_search/search.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.classesObject



14
15
16
# File 'lib/mongomapper_search/search.rb', line 14

def self.classes
  @classes
end

.included(base) ⇒ Object



9
10
11
12
# File 'lib/mongomapper_search/search.rb', line 9

def self.included(base)
  @classes ||= []
  @classes << base
end