Module: Kitchen::Utils

Defined in:
lib/kitchen/utils.rb

Overview

Utility methods

Class Method Summary collapse

Class Method Details

.search_path_to_type(search_path) ⇒ String

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

Parameters:

Returns:



12
13
14
# File 'lib/kitchen/utils.rb', line 12

def self.search_path_to_type(search_path)
  [search_path].flatten.join(',')
end