summaryrefslogtreecommitdiff
path: root/ruby-eval
diff options
context:
space:
mode:
Diffstat (limited to '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
+