module Kitchen::Utils

Utility methods

Public Class Methods

search_path_to_type(search_path) click to toggle source

A standard way to convert a search path to an element type

@param search_path [String, Array<String>] selectors @return [String]

# File lib/kitchen/utils.rb, line 12
def self.search_path_to_type(search_path)
  [search_path].flatten.join(',')
end