From: Steel Steel Date: 2011-04-16T11:08:10+09:00 Subject: chomp behaviour Using 1.9.1 I noticed something with chomp $ echo "abc" | ruby -e 'puts gets.chomp("c")' abc $ irb irb(main):001:0> "abc".chomp("c") => "ab" It doesn't work on the command line, or am i doing it wrong.? comments? -- Posted via http://www.ruby-forum.com/.