diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-10-22 01:42:02 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-10-22 01:53:11 +0900 |
commit | 20df3f778649d50498a5c04b98abd2379f56b31c (patch) | |
tree | acd66cebbf7dbab1b5f4150eba7746d07ddb6030 /actionmailer/lib/action_mailer | |
parent | 20c91119903f70eb19aed33fe78417789dbf070f (diff) | |
download | rails-20df3f778649d50498a5c04b98abd2379f56b31c.tar.gz rails-20df3f778649d50498a5c04b98abd2379f56b31c.tar.bz2 rails-20df3f778649d50498a5c04b98abd2379f56b31c.zip |
Avoid slicing from Thor's original HWIA
Because `options` here is not AS::HWIA but an instance of Thor::CoreExt::HWIA
that looks very similar to ours but behaves slightly different, we need to keep
this object be an instance of Thor::CoreExt::HWIA.
Since Ruby 2.5 has Hash#slice that returns a new Hash instance now,
we need to avoid calling `slice` on this tricky object.
Diffstat (limited to 'actionmailer/lib/action_mailer')
0 files changed, 0 insertions, 0 deletions