minor: core doc fix
This commit is contained in:
parent
9b6ce4ba7f
commit
65ac333464
|
@ -2,7 +2,7 @@
|
|||
<h3>Core docs:</h3>
|
||||
<ul class="see">
|
||||
<% 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 %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
|
|
@ -127,7 +127,7 @@ module Mongo
|
|||
# @raise [RuntimeError]
|
||||
# if given unknown options
|
||||
#
|
||||
# @core find
|
||||
# @core find find-instance_method
|
||||
def find(selector={}, opts={})
|
||||
fields = opts.delete(:fields)
|
||||
fields = ["_id"] if fields && fields.empty?
|
||||
|
|
Loading…
Reference in New Issue