class Launchy::Browser - launchy-2.4.3 Documentation

# class Launchy::Browser

This class is deprecated and will be removed

### Public Class Methods

run( *args ) click to toggle source

    # File lib/launchy/deprecated.rb, line 6
    def self.run( *args )
      Browser.new.visit( args[0] )
    end

### Public Instance Methods

visit( url ) click to toggle source

    # File lib/launchy/deprecated.rb, line 10
    def visit( url )
      _warn "You made a call to a deprecated Launchy API. This call should be changed to 'Launchy.open( uri )'"
      report_caller_context( caller )

      ::Launchy.open( url )
    end