Sha256: 14622431ada71726447f8a92817b57d1c25eae33e8af1b280ff29fefaf327e00

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

module Serverspec
  module Configuration
    class << self
      VALID_OPTIONS_KEYS = [:path, :pre_command, :stdout, :stderr, :sudo_path, :passprompt].freeze
      attr_accessor(*VALID_OPTIONS_KEYS)
    
      def defaults
        VALID_OPTIONS_KEYS.inject({}) { |o, k| o.merge!(k => send(k)) }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
serverspec-0.9.5 lib/serverspec/configuration.rb