Class: NSURL
Instance Method Summary collapse
Instance Method Details
#can_open? ⇒ Boolean
7 8 9 |
# File 'lib/sugarcube/nsurl.rb', line 7 def can_open? UIApplication.sharedApplication.canOpenURL(self) end |
#open ⇒ Object
3 4 5 |
# File 'lib/sugarcube/nsurl.rb', line 3 def open UIApplication.sharedApplication.openURL(self) end |