Sha256: d7136dbb85a01c042afca3ce80d82f734eb559d8c2079c9a148a5d23f29a64f7
Contents?: true
Size: 888 Bytes
Versions: 25
Compression:
Stored size: 888 Bytes
Contents
# frozen_string_literal: true module Kitchen # Kitchen configuration # class Config # Named CSS or XPath selectors # # @return [Selectors::Base] # attr_reader :selectors # @!attribute [rw] enable_all_namespaces # # @return [Boolean] # attr_accessor :enable_all_namespaces # @!attribute [rw] enable_search_cache # # @return [Boolean] # attr_accessor :enable_search_cache # Creates a new config from a file (not implemented) # def self.new_from_file(_file) raise 'NYI' end # Creates a new Config instance # 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 end end
Version data entries
25 entries across 25 versions & 1 rubygems