Sha256: 8f24fea64e3fd49b5721072dd35e3aa9c219e271818b36d338cd4a85745dc592
Contents?: true
Size: 413 Bytes
Versions: 12
Compression:
Stored size: 413 Bytes
Contents
module WorkingMan class Actions def self.close_applications apps apps.each do |app_name| `osascript -e "tell application \\"#{app_name}\\" to quit"` end end def self.launch_applications apps apps.each do |app_name| `open -a "#{app_name}.app"` end end def self.open_urls urls urls.each do |url| `open #{url}` end end end end
Version data entries
12 entries across 12 versions & 1 rubygems