Class: Omnitest::Command::Base
- Inherits:
-
Object
- Object
- Omnitest::Command::Base
- Includes:
- Core::DefaultLogger, Omnitest::Core::FileSystem, Omnitest::Core::Logging
- Defined in:
- lib/omnitest/command.rb
Overview
rubocop:disable ClassLength
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(action, cmd_args, cmd_options, options = {}) ⇒ Base
constructor
Contstructs a new Command object.
Constructor Details
#initialize(action, cmd_args, cmd_options, options = {}) ⇒ Base
Contstructs a new Command object.
23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/omnitest/command.rb', line 23 def initialize(action, cmd_args, , = {}) @action = action @args = cmd_args @options = @help = .fetch(:help, -> { 'No help provided' }) @project_set_file = .fetch('file', nil) @skeptic_file = .fetch('skeptic', nil) @loader = .fetch(:loader, nil) @shell = .fetch(:shell) @queue = Queue.new end |