aboutsummaryrefslogtreecommitdiff
path: root/challenge-002/abigail/ruby/ch-1.rb
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-002/abigail/ruby/ch-1.rb')
-rw-r--r--challenge-002/abigail/ruby/ch-1.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/challenge-002/abigail/ruby/ch-1.rb b/challenge-002/abigail/ruby/ch-1.rb
new file mode 100644
index 0000000000..0ef00293d6
--- /dev/null
+++ b/challenge-002/abigail/ruby/ch-1.rb
@@ -0,0 +1,13 @@
+#!/usr/bin/ruby
+
+#
+# See ../README.md
+#
+
+#
+# Run as: ruby ch-1.rb < input-file
+#
+
+ARGF . each_line do |_|
+ puts _ . to_i
+end