Module: ScriptRunner
- Defined in:
- lib/script-runner.rb,
lib/script-runner/cmds.rb,
lib/script-runner/main.rb,
lib/script-runner/version.rb
Defined Under Namespace
Modules: Commands Classes: Main
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
-
.run(paths, env_vars, error_handler = nil, &block) ⇒ Object
Run a set of scripts.
Class Method Details
.run(paths, env_vars, error_handler = nil, &block) ⇒ Object
Run a set of scripts
Note: non executable files are skipped and a warning is sent to the console
13 14 15 16 |
# File 'lib/script-runner.rb', line 13 def self.run( paths, env_vars, error_handler = nil, &block) runner = ScriptRunner::Main.new runner.run(paths, env_vars, error_handler, &block) end |