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-1.5.8 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.5.7 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.5.6 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.5.5 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.5.4 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.5.3 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.5.2 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.5.1 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.5.0 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.4.6 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.4.5 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.4.4 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.4.3 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.4.2 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.4.1 lib/sugarcube-foundation/nsurl.rb
sugarcube-1.4.0 lib/sugarcube-foundation/nsurl.rb