Sha256: 1c32a2c7d99a75ad0529f86a60d27b265d8bc80b5d57409b2b386bdce63373f1

Contents?: true

Size: 334 Bytes

Versions: 76

Compression:

Stored size: 334 Bytes

Contents

class NSURL

  def open
    UIApplication.sharedApplication.openURL(self)
  end

  def can_open?
    UIApplication.sharedApplication.canOpenURL(self)
  end

  def nsurl
    self
  end

  def nsurlrequest
    NSURLRequest.requestWithURL(self)
  end

  def nsmutableurlrequest
    NSMutableURLRequest.alloc.initWithURL(self)
  end

end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
sugarcube-4.0.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.5.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.4.2 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.4.1 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.4.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.3.7 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.3.6 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.3.5 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.3.4 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.3.3 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.3.2 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.3.1 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.3.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.2.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.1.1 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.1.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.0.8 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.0.7 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.0.6 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.0.5 lib/cocoa/sugarcube-foundation/nsurl.rb