Sha256: e9aae21de253a9bdd15c2ba419a420d747d4ed40111848e3894aac17ef972a81

Contents?: true

Size: 207 Bytes

Versions: 1

Compression:

Stored size: 207 Bytes

Contents

class NSURL

  def open
    NSUIApplication.sharedApplication.openURL(NSUrl.URLWithString(self))
  end

  def can_open?
    NSUIApplication.sharedApplication.canOpenURL(NSUrl.URLWithString(self))
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sugarcube-0.11 lib/sugarcube/nsurl.rb