class Kitchen::Config

Kitchen configuration

Attributes

enable_all_namespaces[RW]

@!attribute [rw] enable_all_namespaces

@return [Boolean]

enable_search_cache[RW]

@!attribute [rw] enable_search_cache

@return [Boolean]

selectors[R]

Named CSS or XPath selectors

@return [Selectors::Base]

Public Class Methods

new(hash: {}, selectors: nil) click to toggle source

Creates a new Config instance

# File lib/kitchen/config.rb, line 34
def initialize(hash: {}, selectors: nil)
  @selectors = selectors || Kitchen::Selectors::Standard1.new
  @enable_all_namespaces = hash[:enable_all_namespaces] || true
  @enable_search_cache = hash[:enable_search_cache] || false
  @hash = hash
end
new_from_file(_file) click to toggle source

Creates a new config from a file (not implemented)

# File lib/kitchen/config.rb, line 28
def self.new_from_file(_file)
  raise 'NYI'
end