Runs the ruby file at the path.
Runs the ruby file at the path
7 8 9 10 11 12 13 14 15
# File 'lib/volt/cli/runner.rb', line 7 def self.run_file(path) app = Volt.boot(Dir.pwd) # Require in the file at path require './' + path # disconnect from the message bus and flush all messages app.message_bus.disconnect! end