Sha256: 1aefb2dcd5c8137753e419840b2790977126f95db7b7adeaf485aca4be6be143

Contents?: true

Size: 298 Bytes

Versions: 25

Compression:

Stored size: 298 Bytes

Contents

module Serverspec
  module Configuration
    class << self
      VALID_OPTIONS_KEYS = [:path, :pre_command, :stdout, :stderr].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

25 entries across 25 versions & 1 rubygems

Version Path
serverspec-0.7.7 lib/serverspec/configuration.rb
serverspec-0.7.6 lib/serverspec/configuration.rb
serverspec-0.7.5 lib/serverspec/configuration.rb
serverspec-0.7.4 lib/serverspec/configuration.rb
serverspec-0.7.3 lib/serverspec/configuration.rb
serverspec-0.7.2 lib/serverspec/configuration.rb
serverspec-0.7.1 lib/serverspec/configuration.rb
serverspec-0.7.0 lib/serverspec/configuration.rb
serverspec-0.6.30 lib/serverspec/configuration.rb
serverspec-0.6.29 lib/serverspec/configuration.rb
serverspec-0.6.28 lib/serverspec/configuration.rb
serverspec-0.6.27 lib/serverspec/configuration.rb
serverspec-0.6.26 lib/serverspec/configuration.rb
serverspec-0.6.25 lib/serverspec/configuration.rb
serverspec-0.6.24 lib/serverspec/configuration.rb
serverspec-0.6.23 lib/serverspec/configuration.rb
serverspec-0.6.22 lib/serverspec/configuration.rb
serverspec-0.6.21 lib/serverspec/configuration.rb
serverspec-0.6.20 lib/serverspec/configuration.rb
serverspec-0.6.19 lib/serverspec/configuration.rb