lib/kitchen/search_query.rb
# Returns the search query as a spaceless string suitable for use as an element type
#
Returns the search query as a spaceless string suitable for use as an element type
Returns the search query as a spaceless string suitable for use as an element type
def as_type
      @as_type ||= [
        [css_or_xpath].flatten.join(','),
        stringify_condition(only, 'only'),
        stringify_condition(except, 'except')
      ].compact.join(';')
    end
def as_type @as_type ||= [ [ css_or_xpath ] . flatten . join ( ',' ) , stringify_condition ( only , 'only' ) , stringify_condition ( except , 'except' ) ] . compact . join ( ';' ) end
Returns the search query as a spaceless string suitable for use as an element type
Returns the search query as a spaceless string suitable for use as an element type