= private = protected
chop()
This method has no description. You can help the Ruby community by adding new notes.
# File lib/jcode.rb, line 196 def chop (str = self.dup).chop! or str end
Chops the last character off a string.
> a = "12345" > a.chop => "1234" > a => "12345" > a.chop! => "1234" > a => "1234