Class: Natives::Apps::Detect
- Inherits:
-
Object
- Object
- Natives::Apps::Detect
- Defined in:
- lib/natives/apps/detect.rb
Instance Method Summary collapse
Instance Method Details
#detection_info ⇒ Object
7 8 9 10 11 12 13 14 |
# 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 ⇒ Object
16 17 18 |
# File 'lib/natives/apps/detect.rb', line 16 def new_host_detection HostDetection.new end |