aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/app
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2017-10-22 01:42:02 +0900
committerAkira Matsuda <ronnie@dio.jp>2017-10-22 01:53:11 +0900
commit20df3f778649d50498a5c04b98abd2379f56b31c (patch)
treeacd66cebbf7dbab1b5f4150eba7746d07ddb6030 /actionview/app
parent20c91119903f70eb19aed33fe78417789dbf070f (diff)
downloadrails-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 'actionview/app')
0 files changed, 0 insertions, 0 deletions