Methods

Class/Module Index [+]

Quicksearch

Mongoid::Extensions::Symbol::Inflections

This module contains convenience methods for symbol inflection and conversion.

Constants

REVERSALS

Public Instance Methods

invert() click to toggle source

Get the inverted sorting option.

@example Get the inverted option.

:asc.invert

@return [ String ] The string inverted.

# File lib/mongoid/extensions/symbol/inflections.rb, line 22
def invert
  REVERSALS[self]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.