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-3.0.4 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.0.3 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.0.2 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.0.1 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-3.0.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.12.3 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.12.2 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.12.1 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.12.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.11.1 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.11.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.10.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.9.1 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.8.2 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.8.1 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.8.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.7.1 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.7.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.6.0 lib/cocoa/sugarcube-foundation/nsurl.rb
sugarcube-2.5.0 lib/cocoa/sugarcube-foundation/nsurl.rb