Sha256: 620e2962ee9ebe58dd73759a3837a83809c955e7c7da7d7cdfcd58cfd6dbc751

Contents?: true

Size: 204 Bytes

Versions: 44

Compression:

Stored size: 204 Bytes

Contents

module Serverspec
  module Helper
    module DetectOS
      def commands
        self.class.const_get('Serverspec').const_get('Commands').const_get(RSpec.configuration.os).new
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
serverspec-0.5.4 lib/serverspec/helper/detect_os.rb
serverspec-0.5.3 lib/serverspec/helper/detect_os.rb
serverspec-0.5.2 lib/serverspec/helper/detect_os.rb
serverspec-0.5.1 lib/serverspec/helper/detect_os.rb
serverspec-0.5.0 lib/serverspec/helper/detect_os.rb
serverspec-0.4.14 lib/serverspec/helper/detect_os.rb
serverspec-0.4.13 lib/serverspec/helper/detect_os.rb
serverspec-0.4.12 lib/serverspec/helper/detect_os.rb
serverspec-0.4.11 lib/serverspec/helper/detect_os.rb
serverspec-0.4.10 lib/serverspec/helper/detect_os.rb
serverspec-0.4.9 lib/serverspec/helper/detect_os.rb
serverspec-0.4.8 lib/serverspec/helper/detect_os.rb
serverspec-0.4.7 lib/serverspec/helper/detect_os.rb
serverspec-0.4.6 lib/serverspec/helper/detect_os.rb
serverspec-0.4.5 lib/serverspec/helper/detect_os.rb
serverspec-0.4.4 lib/serverspec/helper/detect_os.rb
serverspec-0.4.3 lib/serverspec/helper/detect_os.rb
serverspec-0.4.2 lib/serverspec/helper/detect_os.rb
serverspec-0.4.1 lib/serverspec/helper/detect_os.rb
serverspec-0.4.0 lib/serverspec/helper/detect_os.rb