From 02492cf628c0744a6c6d22e6f390d4b9439f5919 Mon Sep 17 00:00:00 2001 From: Adrian Setyadi Date: Tue, 13 Feb 2018 18:00:38 +0700 Subject: [PATCH] Add command that runs the script --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8c36bf1..30cf297 100644 --- a/README.md +++ b/README.md @@ -1143,6 +1143,7 @@ String#chomp'string': 2803443.5 i/s The code is tested against contiguous spaces but should work for other chars too. ``` +$ ruby -v code/string/remove-extra-spaces-or-other-chars.rb ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux] Warming up -------------------------------------- String#gsub/regex+/ 1.644k i/100ms