Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated the Examples.

  • Loading branch information...
commit 5675a9ba309692864616a637ac211d042ab9b577 1 parent 62cc259
@postmodern authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 README.md
View
5 README.md
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.