gumatias
2/16/2015 - 7:19 PM

My nasty Ruby REPL

My nasty Ruby REPL

#!/usr/bin/env ruby

def repl
  input = gets.chomp
  result = eval input
  puts result
  repl
end

repl