Module: Sunspot::Restriction
- Defined in:
- lib/sunspot/restriction.rb
Overview
:nodoc:
Defined Under Namespace
Classes: AllOf, AnyOf, Base, Between, EqualTo, GreaterThan, LessThan, SameAs
Class Method Summary collapse
-
.names ⇒ Object
Return the names of all of the restriction classes that should be made available to the DSL.
Class Method Details
.names ⇒ Object
Return the names of all of the restriction classes that should be made available to the DSL.
Returns
- Array
-
Collection of restriction class names
12 13 14 |
# File 'lib/sunspot/restriction.rb', line 12 def names constants - %w(Base SameAs) #XXX this seems ugly end |