minor: docs
This commit is contained in:
parent
821eb07238
commit
004ac48230
|
@ -3,7 +3,8 @@
|
||||||
This is the 10gen-supported Ruby driver for MongoDB[http://www.mongodb.org].
|
This is the 10gen-supported Ruby driver for MongoDB[http://www.mongodb.org].
|
||||||
|
|
||||||
Here's a quick code sample. See the MongoDB Ruby Tutorial
|
Here's a quick code sample. See the MongoDB Ruby Tutorial
|
||||||
(http://www.mongodb.org/display/DOCS/Ruby+Tutorial) for much more.
|
(http://www.mongodb.org/display/DOCS/Ruby+Tutorial) for much more:
|
||||||
|
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'mongo'
|
require 'mongo'
|
||||||
|
@ -19,6 +20,7 @@ Here's a quick code sample. See the MongoDB Ruby Tutorial
|
||||||
puts "There are #{coll.count()} records. Here they are:"
|
puts "There are #{coll.count()} records. Here they are:"
|
||||||
coll.find().each { |doc| puts doc.inspect }
|
coll.find().each { |doc| puts doc.inspect }
|
||||||
|
|
||||||
|
|
||||||
= Installation
|
= Installation
|
||||||
|
|
||||||
=== Ruby Versions
|
=== Ruby Versions
|
||||||
|
|
Loading…
Reference in New Issue