Class: Retest::Command
- Inherits:
-
Object
- Object
- Retest::Command
- Extended by:
- Forwardable
- Defined in:
- lib/retest/command.rb,
lib/retest/command/base.rb,
lib/retest/command/rake.rb,
lib/retest/command/ruby.rb,
lib/retest/command/rails.rb,
lib/retest/command/rspec.rb,
lib/retest/command/hardcoded.rb
Defined Under Namespace
Classes: AllTestsNotSupported, Base, Hardcoded, MultipleTestsNotSupported, Rails, Rake, Rspec, Ruby
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#setup ⇒ Object
Returns the value of attribute setup.
-
#setup_identified ⇒ Object
Returns the value of attribute setup_identified.
Class Method Summary collapse
Instance Method Summary collapse
- #command ⇒ Object
-
#initialize(options: Options.new, setup: Setup.new) ⇒ Command
constructor
A new instance of Command.
Constructor Details
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
18 19 20 |
# File 'lib/retest/command.rb', line 18 def @options end |
#setup ⇒ Object
Returns the value of attribute setup.
18 19 20 |
# File 'lib/retest/command.rb', line 18 def setup @setup end |
#setup_identified ⇒ Object
Returns the value of attribute setup_identified.
18 19 20 |
# File 'lib/retest/command.rb', line 18 def setup_identified @setup_identified end |
Class Method Details
.for_options(options) ⇒ Object
12 13 14 |
# File 'lib/retest/command.rb', line 12 def self.() new(options: ).command end |
Instance Method Details
#command ⇒ Object
25 26 27 |
# File 'lib/retest/command.rb', line 25 def command || setup_command end |