Module: BrowserLauncher
- Included in:
- GeoDistView, MainWindow, PageInformation, RefererInformation, VisitorInformation
- Defined in:
- lib/BrowserLauncher.rb
Overview
BrowserLauncher.rb - ClickSpotter
Copyright © 2005, 2006 by Chris Schlaeger <[email protected]> This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.
$Id: BrowserLauncher.rb 13 2006-01-23 20:50:55Z cs $
Instance Method Summary collapse
Instance Method Details
#browseURL(url) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/BrowserLauncher.rb', line 14 def browseURL(url) if url[0, 1] == "/" url = $globals.defaultServerURL + url end system($globals.browserCmd + " '" + url + "' &") end |