Class: Terminalwire::Client::Resource::Browser

Inherits:
Base
  • Object
show all
Defined in:
lib/terminalwire/client/resource.rb

Instance Method Summary collapse

Methods inherited from Base

#command, #initialize

Constructor Details

This class inherits a constructor from Terminalwire::Client::Resource::Base

Instance Method Details

#launch(url:) ⇒ Object



191
192
193
194
195
196
# File 'lib/terminalwire/client/resource.rb', line 191

def launch(url:)
  Launchy.open(URI(url))
  # TODO: This is a hack to get the `respond` method to work.
  # Maybe explicitly call a `suceed` and `fail` method?
  nil
end