diff options
author | Koichi ITO <koic.ito@gmail.com> | 2020-01-18 00:42:12 +0900 |
---|---|---|
committer | Koichi ITO <koic.ito@gmail.com> | 2020-01-18 00:58:17 +0900 |
commit | 0dde4b4e3055ca918651f974b055e2cf7447fdba (patch) | |
tree | dc7b559682834249173a3b7d62fd2b5c5b120098 /spec | |
parent | 7fa93b19a098f90019fbe336ffcae4c3dbe4f54f (diff) | |
download | hashie-0dde4b4e3055ca918651f974b055e2cf7447fdba.tar.gz |
Suppress a Ruby's warning when using Ruby 2.6.0+
This PR suppresses the following warning that `deep_merge` method and
`deep_update` method are defined twice when using Ruby 2.6.0+.
```console
% bundle exec rake
(snip)
/Users/koic/src/github.com/hahie/hashie/lib/hashie/mash.rb:226: warning:
method redefined; discarding old deep_merge
/Users/koic/src/github.com/hahie/hashie/lib/hashie/mash.rb:212: warning:
previous definition of deep_merge was here
/Users/koic/src/github.com/hahie/hashie/lib/hashie/mash.rb:232: warning:
method redefined; discarding old deep_update
/Users/koic/src/github.com/hahie/hashie/lib/hashie/mash.rb:218: warning:
previous definition of deep_update was here
```
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions