Permalink
Browse files

Updated the Examples.

  • Loading branch information...
1 parent 62cc259 commit 5675a9ba309692864616a637ac211d042ab9b577 @postmodern committed Jul 16, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 README.md
View
@@ -43,7 +43,10 @@ A DataMapper plugin for adding predefined resources to Models.
License.predefined_resource_with(:name => 'GPL-2')
# => #<License: id: 1, name: "GPL-2", url: "http://www.gnu.org/copyleft/gpl.html">
- License.predefined_names
+ License.predefined?(:gpl2)
+ # => true
+
+ License.predefined
# => [:gpl2, :mit]
## Requirements

0 comments on commit 5675a9b

Please sign in to comment.