bin/ratch in ratch-1.1.0 vs bin/ratch in ratch-1.2.0
- old
+ new
@@ -1,10 +1,3 @@
#!/usr/bin/env ruby
-
-$0 = ARGV.shift
-
require 'ratch/script'
-
-script = Ratch::Script.new
-
-script.instance_eval(File.read($0))
-
+Ratch::Script.execute(ARGV.shift)