Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/utils.rb
Instance Method Summary collapse
Instance Method Details
#chop_both ⇒ Object
110 111 112 |
# File 'lib/utils.rb', line 110 def chop_both self.chop!.reverse.chop!.reverse! end |