Class: TestLauncher::CLI::Options
- Inherits:
-
Object
- Object
- TestLauncher::CLI::Options
- Defined in:
- lib/test_launcher/cli/options.rb
Instance Attribute Summary collapse
-
#disable_spring ⇒ Object
readonly
Returns the value of attribute disable_spring.
-
#example_name ⇒ Object
readonly
Returns the value of attribute example_name.
-
#force_spring ⇒ Object
readonly
Returns the value of attribute force_spring.
-
#frameworks ⇒ Object
readonly
Returns the value of attribute frameworks.
-
#rerun ⇒ Object
readonly
Returns the value of attribute rerun.
-
#run_all ⇒ Object
readonly
Returns the value of attribute run_all.
-
#search_string ⇒ Object
readonly
Returns the value of attribute search_string.
-
#searcher ⇒ Object
readonly
Returns the value of attribute searcher.
-
#shell ⇒ Object
readonly
Returns the value of attribute shell.
Instance Method Summary collapse
-
#initialize(disable_spring:, example_name:, force_spring:, frameworks:, rerun:, run_all:, search_string:, searcher:, shell:) ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize(disable_spring:, example_name:, force_spring:, frameworks:, rerun:, run_all:, search_string:, searcher:, shell:) ⇒ Options
Returns a new instance of Options.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/test_launcher/cli/options.rb', line 15 def initialize( disable_spring:, example_name:, force_spring:, frameworks:, rerun:, run_all:, search_string:, searcher:, shell: ) @disable_spring = disable_spring @example_name = example_name @force_spring = force_spring @frameworks = frameworks @rerun = rerun @run_all = run_all @search_string = search_string @searcher = searcher @shell = shell end |
Instance Attribute Details
#disable_spring ⇒ Object (readonly)
Returns the value of attribute disable_spring.
4 5 6 |
# File 'lib/test_launcher/cli/options.rb', line 4 def disable_spring @disable_spring end |
#example_name ⇒ Object (readonly)
Returns the value of attribute example_name.
4 5 6 |
# File 'lib/test_launcher/cli/options.rb', line 4 def example_name @example_name end |
#force_spring ⇒ Object (readonly)
Returns the value of attribute force_spring.
4 5 6 |
# File 'lib/test_launcher/cli/options.rb', line 4 def force_spring @force_spring end |
#frameworks ⇒ Object (readonly)
Returns the value of attribute frameworks.
4 5 6 |
# File 'lib/test_launcher/cli/options.rb', line 4 def frameworks @frameworks end |
#rerun ⇒ Object (readonly)
Returns the value of attribute rerun.
4 5 6 |
# File 'lib/test_launcher/cli/options.rb', line 4 def rerun @rerun end |
#run_all ⇒ Object (readonly)
Returns the value of attribute run_all.
4 5 6 |
# File 'lib/test_launcher/cli/options.rb', line 4 def run_all @run_all end |
#search_string ⇒ Object (readonly)
Returns the value of attribute search_string.
4 5 6 |
# File 'lib/test_launcher/cli/options.rb', line 4 def search_string @search_string end |
#searcher ⇒ Object (readonly)
Returns the value of attribute searcher.
4 5 6 |
# File 'lib/test_launcher/cli/options.rb', line 4 def searcher @searcher end |
#shell ⇒ Object (readonly)
Returns the value of attribute shell.
4 5 6 |
# File 'lib/test_launcher/cli/options.rb', line 4 def shell @shell end |