Class: NSString
Overview
accessibility-core extensions for NSString
Instance Method Summary collapse
-
#to_url ⇒ NSURL?
Create an NSURL using the receiver as the initialization string.
Instance Method Details
#to_url ⇒ NSURL?
Create an NSURL using the receiver as the initialization string
If the receiver is not a valid URL then nil
will be returned.
This exists because of rdar://11207662.
30 31 32 |
# File 'lib/accessibility/bridge/macruby.rb', line 30 def to_url NSURL.URLWithString self end |