Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/natural/string.rb
Instance Method Summary collapse
Instance Method Details
#plural? ⇒ Boolean
2 3 4 |
# File 'lib/natural/string.rb', line 2 def plural? self != self.singularize && self == self.pluralize end |