summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-09-20 09:46:19 +0900
committerGitHub <[email protected]>2019-09-20 09:46:19 +0900
commit01ce5824f0c74cb982b8a7378a15ad1d4f5653e9 (patch)
tree79e0e8e2e68782cf793300e2199992e4231a2306
parent21c0c78d2e48f32e757fc44381c3bbc9706cec98 (diff)
parent1fb4e73981d2c9588eb25acfcc2d34fca3a415bd (diff)
downloadmruby-01ce5824f0c74cb982b8a7378a15ad1d4f5653e9.tar.gz
mruby-01ce5824f0c74cb982b8a7378a15ad1d4f5653e9.zip
Merge pull request #4723 from shuujii/fix-typo-in-Array-difference-document
Fix typo in `Array#difference` document [ci skip]
-rw-r--r--mrbgems/mruby-array-ext/mrblib/array.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-array-ext/mrblib/array.rb b/mrbgems/mruby-array-ext/mrblib/array.rb
index 5201cbe57..7cec44dba 100644
--- a/mrbgems/mruby-array-ext/mrblib/array.rb
+++ b/mrbgems/mruby-array-ext/mrblib/array.rb
@@ -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)