Module: Mongoid::Extensions::Symbol::Inflections

Included in:
Symbol
Defined in:
lib/mongoid/extensions/symbol/inflections.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#plural?Boolean

Returns:



8
9
10
# File 'lib/mongoid/extensions/symbol/inflections.rb', line 8

def plural?
  to_s.plural?
end

#singular?Boolean

Returns:



5
6
7
# File 'lib/mongoid/extensions/symbol/inflections.rb', line 5

def singular?
  to_s.singular?
end