summaryrefslogtreecommitdiff
path: root/lib/coderay/helpers/plugin_host.rb
diff options
context:
space:
mode:
authorMamoru TASAKA <mtasaka@fedoraproject.org>2021-02-21 23:04:03 +0900
committerMamoru TASAKA <mtasaka@fedoraproject.org>2021-02-21 23:04:03 +0900
commitc1c15034749684fcad91ad2bcb2fcd2056faf18d (patch)
tree4968a86229c49a69e767079d11980102fb7cd950 /lib/coderay/helpers/plugin_host.rb
parent8f4254b2b892c3f644ea47179dd8911c470b69ff (diff)
downloadcoderay-c1c15034749684fcad91ad2bcb2fcd2056faf18d.tar.gz
Fix test suite for ruby 3.0 change for methods on subclass of Array
With ruby 3.0, especially with https://github.com/ruby/ruby/pull/3690 , for subclass of Array, `flatten` method now returns the instance of Array, not of the subclass. To keep the object instance of the subclass, use `flatten!` instead.
Diffstat (limited to 'lib/coderay/helpers/plugin_host.rb')
0 files changed, 0 insertions, 0 deletions