lib/sugarcube/notifications.rb in sugarcube-0.1.6 vs lib/sugarcube/notifications.rb in sugarcube-0.2.0
- old
+ new
@@ -1,7 +1,5 @@
-
-
-class String
+class NSString
def post_notification(object=nil, user_info=nil)
if user_info and not Hash === user_info
raise TypeError("Invalid argument #{user_info.class.name} sent to String.post_notification")
end