Permalink
Browse files

readme formatting

[skip ci]
  • Loading branch information...
1 parent d49af16 commit 8a0794345941d7aadc7f8f68264fce51a32b6360 @jnunemaker committed Apr 20, 2012
Showing with 7 additions and 5 deletions.
  1. +7 −5 README.md
View
@@ -10,12 +10,14 @@ gem install toystore-mongo
## Usage
- class User
- include Toy::Mongo
- adapter :mongo, Mongo::Connection.new.db('myapp')['users']
+```ruby
+class User
+ include Toy::Mongo
+ adapter :mongo, Mongo::Connection.new.db('myapp')['users']
- attribute :name, String
- end
+ attribute :name, String
+end
+```
Including Toy::Mongo includes Toy::Store and then does a few things:

0 comments on commit 8a07943

Please sign in to comment.