Method: Sunspot::Type.for

Defined in:
lib/sunspot/type.rb

.for(object) ⇒ Object



40
41
42
# File 'lib/sunspot/type.rb', line 40

def for(object)
  for_class(object.class)
end