minor: core doc fix
This commit is contained in:
parent
9b6ce4ba7f
commit
65ac333464
|
@ -2,7 +2,7 @@
|
||||||
<h3>Core docs:</h3>
|
<h3>Core docs:</h3>
|
||||||
<ul class="see">
|
<ul class="see">
|
||||||
<% for tag in object.tags(:core) %>
|
<% for tag in object.tags(:core) %>
|
||||||
<li><%= linkify('http://dochub.mongodb.org/core/' + tag.name, tag.text || tag.name.capitalize) %></li>
|
<li><a href='<%= "http://dochub.mongodb.org/core/#{tag.name}" %>' name='<%= tag.text %>'><%= tag.name.capitalize %></a></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -127,7 +127,7 @@ module Mongo
|
||||||
# @raise [RuntimeError]
|
# @raise [RuntimeError]
|
||||||
# if given unknown options
|
# if given unknown options
|
||||||
#
|
#
|
||||||
# @core find
|
# @core find find-instance_method
|
||||||
def find(selector={}, opts={})
|
def find(selector={}, opts={})
|
||||||
fields = opts.delete(:fields)
|
fields = opts.delete(:fields)
|
||||||
fields = ["_id"] if fields && fields.empty?
|
fields = ["_id"] if fields && fields.empty?
|
||||||
|
|
Loading…
Reference in New Issue