lib/sugarcube/document.rb in sugarcube-0.1.6 vs lib/sugarcube/document.rb in sugarcube-0.2.0

- old
+ new

@@ -1,7 +1,7 @@ -class String +class NSString def document @docs ||= NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, true)[0] @docs.stringByAppendingPathComponent(self) end