lib/mongoid/relations/referenced/many_to_many.rb in mongoid-5.2.1 vs lib/mongoid/relations/referenced/many_to_many.rb in mongoid-5.4.0
- old
+ new
@@ -17,10 +17,10 @@
# person.posts.push(post)
#
# @example Concat with other documents.
# person.posts.concat([ post_one, post_two ])
#
- # @param [ Document, Array<Document> ] *args Any number of documents.
+ # @param [ Document, Array<Document> ] args Any number of documents.
#
# @return [ Array<Document> ] The loaded docs.
#
# @since 2.0.0.beta.1
def <<(*args)