lib/gravatarify/object_support.rb in gravatarify-1.2.0 vs lib/gravatarify/object_support.rb in gravatarify-1.2.1
- old
+ new
@@ -14,11 +14,12 @@
#
# class User
# include DataMapper::Resource
# property ...
# property :author_email, String
+# gravatarify :author_email
# end
-# @user.gravatar_url :author_email # that's it, using the specified field!
+# @user.gravatar_url # that's it, using the specified field!
#
# And finally, using a plain old ruby object:
#
# class SimpleUser
# include Gravatarify::ObjectSupport
\ No newline at end of file