3 ms·
Don't know why, but I feel the need to contribute a shorter Ruby sample that feels closer to conventional Ruby. :) ARGF.lines.each { |line| line.split.each
by donw 16y ago
Don't know why, but I feel the need to contribute a shorter Ruby sample that feels closer to conventional Ruby. :)
ARGF.lines.each { |line|
line.split.each { |word|
word.match(/ing$/) and puts word } }
- phsoftnet 16y agoEqually cryptic to perl syntax imo..