Class: Selective::Ruby::Core::Init
- Inherits:
-
Object
- Object
- Selective::Ruby::Core::Init
- Defined in:
- lib/selective-ruby-core.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(args) ⇒ Init
constructor
A new instance of Init.
Constructor Details
#initialize(args) ⇒ Init
Returns a new instance of Init.
32 33 34 35 36 37 |
# File 'lib/selective-ruby-core.rb', line 32 def initialize(args) @debug = !args.delete("--debug").nil? @log = !args.delete("--log").nil? @runner_name, @args, @command = parse_args(args) require_runner end |
Class Method Details
.run(args) ⇒ Object
39 40 41 |
# File 'lib/selective-ruby-core.rb', line 39 def self.run(args) new(args).send(:run) end |