class Natives::Apps::Detect

Public Instance Methods

detection_info() click to toggle source
# File lib/natives/apps/detect.rb, line 7
def detection_info
  host = new_host_detection
  return [
    "platform: #{host.platform}",
    "platform_version: #{host.platform_version}",
    "package_provider: #{host.package_provider}",
  ].join("\n")
end
new_host_detection() click to toggle source
# File lib/natives/apps/detect.rb, line 16
def new_host_detection
  HostDetection.new
end