Class: String

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

Instance Method Summary collapse

Instance Method Details

#chop_bothObject



110
111
112
# File 'lib/utils.rb', line 110

def chop_both
  self.chop!.reverse.chop!.reverse!
end