Module Launchy
In: lib/launchy.rb
lib/launchy/error.rb
lib/launchy/detect.rb
lib/launchy/version.rb
lib/launchy/os_family.rb
lib/launchy/application.rb
lib/launchy/descendant_tracker.rb
lib/launchy/cli.rb
lib/launchy/deprecated.rb

The entry point into Launchy. This is the sole supported public API.

  Launchy.open( uri, options = {} )

The currently defined global options are:

  :debug        Turn on debugging output
  :application  Explicitly state what application class is going to be used
  :host_os      Explicitly state what host operating system to pretend to be
  :ruby_engine  Explicitly state what ruby engine to pretend to be under
  :dry_run      Do nothing and print the command that would be executed on $stdout

Other options may be used, and those will be passed directly to the application class

Methods

Classes and Modules

Module Launchy::DescendantTracker
Module Launchy::Detect
Module Launchy::Version
Class Launchy::Application
Class Launchy::ApplicationNotFoundError
Class Launchy::Browser
Class Launchy::Cli
Class Launchy::CommandNotFoundError
Class Launchy::Error
Class Launchy::OSFamily

Constants

VERSION = "2.1.2"

Public Class methods

we may do logging before a call to ‘open’, hence the need to check LAUNCHY_DEBUG here

Convenience method to launch an item

[Validate]