diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-07 04:21:32 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-07 04:21:32 +0000 |
commit | 1c7d33480070cfe737f4a40acdb812330c035d33 (patch) | |
tree | 3e949d3304c68bd313fbddff782dac8b4cba6a3a /array.c | |
parent | e889fad86c848a15897e246d92a1b8a8d7baaeb5 (diff) | |
download | ruby-1c7d33480070cfe737f4a40acdb812330c035d33.tar.gz |
Fix indent of output in doc [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4234,7 +4234,7 @@ rb_ary_diff(VALUE ary1, VALUE ary2) * * It compares elements using their #hash and #eql? methods for efficiency. * - * [ 1, 1, 2, 2, 3, 3, 4, 5 ].difference([ 1, 2, 4 ]) #=> [ 3, 3, 5 ] + * [ 1, 1, 2, 2, 3, 3, 4, 5 ].difference([ 1, 2, 4 ]) #=> [ 3, 3, 5 ] * [ 1, 'c', :s, 'yep' ].difference([ 1 ], [ 'a', 'c' ]) #=> [:s, "yep"] * * If you need set-like behavior, see the library class Set. |