Class: Launchy::Detect::HostOsFamily::Nix
- Inherits:
-
Launchy::Detect::HostOsFamily
- Object
- Launchy::Detect::HostOsFamily
- Launchy::Detect::HostOsFamily::Nix
- Defined in:
- lib/launchy/detect/host_os_family.rb
Overview
All the *nix family of operating systems, and BSDs
Instance Attribute Summary
Attributes inherited from Launchy::Detect::HostOsFamily
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Launchy::Detect::HostOsFamily
#cygwin?, cygwin?, #darwin?, darwin?, detect, #initialize, matches?, #nix?, nix?, #windows?, windows?
Methods included from Launchy::DescendantTracker
#children, #find_child, #inherited
Constructor Details
This class inherits a constructor from Launchy::Detect::HostOsFamily
Class Method Details
.matching_regex ⇒ Object
91 92 93 |
# File 'lib/launchy/detect/host_os_family.rb', line 91 def self.matching_regex /(linux|bsd|aix|solaris|sunos|dragonfly)/i end |
Instance Method Details
#app_list(app) ⇒ Object
95 96 97 |
# File 'lib/launchy/detect/host_os_family.rb', line 95 def app_list(app) app.nix_app_list end |