Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/restful_acl/string.rb

Instance Method Summary collapse

Instance Method Details

#singular?Boolean

Returns:

  • (Boolean)


3
4
5
6
# File 'lib/restful_acl/string.rb', line 3

def singular?
  other = self.dup
  other.pluralize != self
end