lib/cocoa/sugarcube-files/nsstring.rb in sugarcube-3.3.4 vs lib/cocoa/sugarcube-files/nsstring.rb in sugarcube-3.3.5
- old
+ new
@@ -13,13 +13,13 @@
@@sugarcube_caches.stringByAppendingPathComponent(self)
end
def app_support_path
- @@sugarcube_app_suppert ||= NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, true)[0]
- return self if self.hasPrefix(@@sugarcube_app_suppert)
+ @@sugarcube_app_support ||= NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, true)[0]
+ return self if self.hasPrefix(@@sugarcube_app_support)
- @@sugarcube_app_suppert.stringByAppendingPathComponent(self)
+ @@sugarcube_app_support.stringByAppendingPathComponent(self)
end
def temporary_path
@@sugarcube_temporary ||= NSTemporaryDirectory()
return self if self.hasPrefix(@@sugarcube_temporary)