Project

General

Profile

Actions

Feature #10574

open

Updated by shevegen (Robert A. Heiler) over 10 years ago

Possibly also add the default without arguments in order to compare to .chomp:

"\nacbdef\n".chomp  # => "\nacbdef"
"\nacbdef\n".lchomp # => "acbdef\n"

Updated by javawizard (Alex Boyd) over 10 years ago

Agreed. I was slightly lazy writing up my example... :-)

Updated by hsbt (Hiroshi SHIBATA) about 1 year ago

  • Status changed from Open to Assigned
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0