Merge pull request #4723 from shuujii/fix-typo-in-Array-difference-document

Fix typo in `Array#difference` document [ci skip]
This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-09-20 09:46:19 +09:00
committed by GitHub
+1 -1
View File
@@ -129,7 +129,7 @@ class Array
# ary.difference(other_ary1, other_ary2, ...) -> new_ary
#
# Returns a new array that is a copy of the original array, removing all
# occurences of any item that also appear in +other_ary+. The order is
# occurrences of any item that also appear in +other_ary+. The order is
# preserved from the original array.
#
def difference(*args)