Sha256: 1968a228d2e9de4376e7bdcee3b8dcbe7f8118f54fc041dff7ae3aea80e45caf

Contents?: true

Size: 424 Bytes

Versions: 9

Compression:

Stored size: 424 Bytes

Contents

require 'natives/host_detection'

module Natives
  module Apps
    class Detect

      def detection_info
        host = new_host_detection
        return [
          "platform: #{host.platform}",
          "platform_version: #{host.platform_version}",
          "package_provider: #{host.package_provider}",
        ].join("\n")
      end

      def new_host_detection
        HostDetection.new
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
natives-0.6.2 lib/natives/apps/detect.rb
natives-0.6.1 lib/natives/apps/detect.rb
natives-0.6.0 lib/natives/apps/detect.rb
natives-0.5.5 lib/natives/apps/detect.rb
natives-0.5.4 lib/natives/apps/detect.rb
natives-0.5.3 lib/natives/apps/detect.rb
natives-0.5.2 lib/natives/apps/detect.rb
natives-0.5.1 lib/natives/apps/detect.rb
natives-0.5.0 lib/natives/apps/detect.rb