aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xchallenge-096/abigail/ruby/ch-1.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-096/abigail/ruby/ch-1.rb b/challenge-096/abigail/ruby/ch-1.rb
index 9bef80402c..588ac76d7c 100755
--- a/challenge-096/abigail/ruby/ch-1.rb
+++ b/challenge-096/abigail/ruby/ch-1.rb
@@ -9,5 +9,5 @@
#
ARGF . each_line do |_|
- puts ((_ . split (/\s+/)) . grep (/\S/)) . reverse . join (" ")
+ puts (_ . strip . split (/\s+/)) . reverse . join (" ")
end