Class: TestLauncher::CLI::MultiRequestQuery
- Inherits:
-
Struct
- Object
- Struct
- TestLauncher::CLI::MultiRequestQuery
- Defined in:
- lib/test_launcher/cli.rb
Instance Attribute Summary collapse
-
#requests ⇒ Object
Returns the value of attribute requests.
Instance Method Summary collapse
Instance Attribute Details
#requests ⇒ Object
Returns the value of attribute requests
9 10 11 |
# File 'lib/test_launcher/cli.rb', line 9 def requests @requests end |
Instance Method Details
#command ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/test_launcher/cli.rb', line 11 def command command = nil command_finders.each do |command_finder| command = command_finder.generic_search break if command end command end |
#command_finders ⇒ Object
20 21 22 |
# File 'lib/test_launcher/cli.rb', line 20 def command_finders requests.map {|request| Queries::CommandFinder.new(request)} end |