Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
Fix code example
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Aug 20, 2012
1 parent 1aa5102 commit 6c6d471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/properties.md
Expand Up @@ -133,7 +133,7 @@ DataMapper::Property.required(true)
DataMapper::Property.auto_validation(false)

# set all mutator methods to be private by default
DataMapper::Property.writer(false)
DataMapper::Property.writer(:private)
{% endhighlight %}

You can of course still override these defaults by specifying any
Expand Down

0 comments on commit 6c6d471

Please sign in to comment.