Class: TestLauncher::CLI::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/test_launcher/cli/options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_springObject (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_nameObject (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_springObject (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

#frameworksObject (readonly)

Returns the value of attribute frameworks.



4
5
6
# File 'lib/test_launcher/cli/options.rb', line 4

def frameworks
  @frameworks
end

#rerunObject (readonly)

Returns the value of attribute rerun.



4
5
6
# File 'lib/test_launcher/cli/options.rb', line 4

def rerun
  @rerun
end

#run_allObject (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_stringObject (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

#searcherObject (readonly)

Returns the value of attribute searcher.



4
5
6
# File 'lib/test_launcher/cli/options.rb', line 4

def searcher
  @searcher
end

#shellObject (readonly)

Returns the value of attribute shell.



4
5
6
# File 'lib/test_launcher/cli/options.rb', line 4

def shell
  @shell
end