Module: Lexdrill::Browser
- Defined in:
- lib/lexdrill/browser.rb
Overview
Opens a URL in the system's default browser, cross-platform, for
drill open.
Class Method Summary collapse
Class Method Details
.open(url) ⇒ Object
8 9 10 |
# File 'lib/lexdrill/browser.rb', line 8 def self.open(url) system(*open_command(url), out: File::NULL, err: File::NULL) end |