require 'facets/functor' script = File.read($0 = './t.rb') eval(script, binding, $0)