Module: Serverspec::Configuration

Defined in:
lib/serverspec/configuration.rb

Constant Summary collapse

VALID_OPTIONS_KEYS =
[:path, :pre_command, :stdout, :stderr].freeze

Class Method Summary collapse

Class Method Details

.defaultsObject



7
8
9
# File 'lib/serverspec/configuration.rb', line 7

def defaults
  VALID_OPTIONS_KEYS.inject({}) { |o, k| o.merge!(k => send(k)) }
end