aboutsummaryrefslogtreecommitdiff
path: root/skel
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2019-10-22 00:18:59 +0100
committerNat Lasseter <user@4574.co.uk>2019-10-22 00:18:59 +0100
commit3575bedba1aaaa057e7472caeba15d9556f8a798 (patch)
treed2a6849989c2c00dc9f4b3fd8b4a91b3fe211352 /skel
parentede81a630c8f67cad53ce17af86bdf4fc1ff9307 (diff)
Changed out chomp for strip in skel
Diffstat (limited to 'skel')
-rwxr-xr-xskel/part12
1 files changed, 1 insertions, 1 deletions
diff --git a/skel/part1 b/skel/part1
index 90c685a..5c15e00 100755
--- a/skel/part1
+++ b/skel/part1
@@ -1,3 +1,3 @@
#!/usr/bin/env ruby
-input = $stdin.readlines.map(&:chomp)
+input = $stdin.readlines.map(&:strip)