Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/content_driven/support.rb
Instance Method Summary collapse
Instance Method Details
#pluralise ⇒ Object
5 6 7 |
# File 'lib/content_driven/support.rb', line 5 def pluralise self + "s" end |
#underscore ⇒ Object
2 3 4 |
# File 'lib/content_driven/support.rb', line 2 def underscore self.downcase end |