Class Launchy::Application
In: lib/launchy/applications/browser.rb
lib/launchy/application.rb
Parent: Object

Application is the base class of all the application types that launchy may invoke. It essentially defines the public api of the launchy system.

Every class that inherits from Application must define:

  1. A constructor taking no parameters
  2. An instance method ‘open’ taking a string or URI as the first parameter and a hash as the second
  3. A class method ‘handles?’ that takes a String and returns true if that class can handle the input.

Methods

Classes and Modules

Class Launchy::Application::Browser

Attributes

host_os_family  [R] 
ruby_engine  [R] 
runner  [R] 

Public Class methods

Find the given executable in the available paths

Find the application that handles the given uri.

returns the Class that can handle the uri

Public Instance methods

[Validate]