module SimCtl::Command::OpenUrl

Public Instance Methods

open_url(device, url) click to toggle source

Opens a url

@param device [SimCtl::Device] the device that should open the url @param url The url to open on the device @return [void]

# File lib/simctl/command/openurl.rb, line 11
def open_url(device, url)
  Executor.execute(command_for('openurl', device.udid, Shellwords.shellescape(url)))
end