class NSURL
Public Instance Methods
can_open?()
click to toggle source
# File lib/cocoa/sugarcube-foundation/nsurl.rb, line 7 def can_open? UIApplication.sharedApplication.canOpenURL(self) end
inspect()
click to toggle source
# File lib/cocoa/sugarcube-to_s/nsurl.rb, line 7 def inspect "#<#{self.class.to_s}:0x#{self.object_id.to_s(16)}, "+ "URL=#{self.absoluteString.inspect}"+ ">" end
nsdata()
click to toggle source
# File lib/cocoa/sugarcube-nsdata/nsurl.rb, line 3 def nsdata NSData.dataWithContentsOfURL(self) end
nsmutableurlrequest()
click to toggle source
# File lib/cocoa/sugarcube-foundation/nsurl.rb, line 19 def nsmutableurlrequest NSMutableURLRequest.alloc.initWithURL(self) end
nsurl()
click to toggle source
# File lib/cocoa/sugarcube-foundation/nsurl.rb, line 11 def nsurl self end
nsurlrequest()
click to toggle source
# File lib/cocoa/sugarcube-foundation/nsurl.rb, line 15 def nsurlrequest NSURLRequest.requestWithURL(self) end
open()
click to toggle source
# File lib/cocoa/sugarcube-foundation/nsurl.rb, line 3 def open UIApplication.sharedApplication.openURL(self) end
to_s()
click to toggle source
# File lib/cocoa/sugarcube-to_s/nsurl.rb, line 3 def to_s self.absoluteString end