Class: Launchy::Detect::HostOsFamily::Darwin

Inherits:
Launchy::Detect::HostOsFamily show all
Defined in:
lib/launchy/detect/host_os_family.rb

Overview

Mac OS X family

Instance Attribute Summary

Attributes inherited from Launchy::Detect::HostOsFamily

#host_os

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_regexObject



80
81
82
# File 'lib/launchy/detect/host_os_family.rb', line 80

def self.matching_regex
  /(darwin|mac os)/i
end

Instance Method Details

#app_list(app) ⇒ Object



84
85
86
# File 'lib/launchy/detect/host_os_family.rb', line 84

def app_list(app)
  app.darwin_app_list
end