class TestLauncher::Queries::SearchQuery

Public Instance Methods

command() click to toggle source
# File lib/test_launcher/queries.rb, line 396
def command
  [
    :line_number,
    :by_path,
    :multi_path_query,
    :example_name,
    :multi_example_name,
    :from_full_regex,
  ].each {|command_type|
    command = command_finder.public_send(command_type)
    return command if command
  }
  nil
end