summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-10-20 18:23:24 +0200
committerPatrick Simianer <p@simianer.de>2016-10-20 18:23:24 +0200
commit88877e6fca65e57513d4d2f73450884b416d3153 (patch)
tree382ca4d5994fc5af3e17675c4b4f0a8d216a43b5
parent0cb8b41406452c17ebcb6801e45cf114e46187fa (diff)
ruby-eval
-rwxr-xr-xruby-eval6
1 files changed, 6 insertions, 0 deletions
diff --git a/ruby-eval b/ruby-eval
new file mode 100755
index 0000000..fe0d181
--- /dev/null
+++ b/ruby-eval
@@ -0,0 +1,6 @@
+#!/usr/bin/env ruby
+
+while line = STDIN.gets
+ puts "#{eval line}"
+end
+