lib/simctl/device.rb in simctl-1.5.2 vs lib/simctl/device.rb in simctl-1.5.3

- old
+ new

@@ -75,9 +75,17 @@ # @return [void] def launch_app!(identifier, args=[], opts={}) SimCtl.launch_app(self, identifier, args, opts) end + # Opens the url on the device + # + # @param url [String] The url to be opened on the device + # @return [void] + def open_url!(url) + SimCtl.open_url(self, url) + end + def path @path ||= DevicePath.new(udid) end # Renames the device