Class: Launcher
- Inherits:
-
Object
- Object
- Launcher
- Defined in:
- lib/blindfold/launcher.rb
Constant Summary collapse
- @@spec_opts_file =
these all leave beneath the config dir
'spec.opts'
- @@blueprints_dir =
'blueprints'
- @@matchers_dir =
'matchers'
- @@helpers_dir =
'helpers'
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Launcher
constructor
A new instance of Launcher.
- #run(arguments) ⇒ Object
Constructor Details
#initialize(args = {}) ⇒ Launcher
Returns a new instance of Launcher.
13 14 15 16 17 |
# File 'lib/blindfold/launcher.rb', line 13 def initialize(args={}) Blindfold.config_dir = args[:config_dir] if args.has_key?(:config_dir) Blindfold.rails_root = args[:rails_root] if args.has_key?(:rails_root) Blindfold.boot_redis = args[:boot_redis] if args.has_key?(:boot_redis) end |