Class: Volt::CLI::Runner
Class Method Summary collapse
-
.run_file(path) ⇒ Object
Runs the ruby file at the path.
Class Method Details
.run_file(path) ⇒ Object
Runs the ruby file at the path
7 8 9 10 11 12 |
# File 'lib/volt/cli/runner.rb', line 7 def self.run_file(path) Volt.boot(Dir.pwd) # Require in the file at path require './' + path end |