Sha256: 2737dc08067317788a302f239f4a357de22addb77464cb2b58544662f35d4bd0

Contents?: true

Size: 161 Bytes

Versions: 41

Compression:

Stored size: 161 Bytes

Contents

class NSURL

  def open
    UIApplication.sharedApplication.openURL(self)
  end

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

end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
sugarcube-0.20.1 lib/sugarcube/nsurl.rb
sugarcube-0.20.0 lib/sugarcube/nsurl.rb
sugarcube-0.19.5 lib/sugarcube/nsurl.rb
sugarcube-0.19.4 lib/sugarcube/nsurl.rb
sugarcube-0.19.2 lib/sugarcube/nsurl.rb
sugarcube-0.19.0 lib/sugarcube/nsurl.rb
sugarcube-0.18.21 lib/sugarcube/nsurl.rb
sugarcube-0.18.20 lib/sugarcube/nsurl.rb
sugarcube-0.18.19 lib/sugarcube/nsurl.rb
sugarcube-0.18.18 lib/sugarcube/nsurl.rb
sugarcube-0.18.17 lib/sugarcube/nsurl.rb
sugarcube-0.18.16 lib/sugarcube/nsurl.rb
sugarcube-0.18.12 lib/sugarcube/nsurl.rb
sugarcube-0.18.11 lib/sugarcube/nsurl.rb
sugarcube-0.18.10 lib/sugarcube/nsurl.rb
sugarcube-0.18.9 lib/sugarcube/nsurl.rb
sugarcube-0.18.8 lib/sugarcube/nsurl.rb
sugarcube-0.18.7 lib/sugarcube/nsurl.rb
sugarcube-0.18.6 lib/sugarcube/nsurl.rb
sugarcube-0.18.5 lib/sugarcube/nsurl.rb