lib/jets/commands/runner.rb in jets-4.0.4 vs lib/jets/commands/runner.rb in jets-4.0.5
- old
+ new
@@ -1,6 +1,6 @@
class Jets::Commands::Runner
- def self.run(code)
+ def self.run(code, args=nil)
if code =~ %r{^file://}
path = code.sub('file://', '')
full_path = "#{Jets.root}/#{path}"
if File.exist?(full_path)
code = IO.read(full_path)