aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/request/utils.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-09-21 13:45:27 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-09-21 13:45:27 -0700
commitf9dda1567ea8d5b27bd9d66ac5a8b43dc67a6b7e (patch)
treefb5bfd624e1b482248785eb14a253730d8c3ea57 /actionpack/lib/action_dispatch/request/utils.rb
parent8325d4c4737aa26692a0693b1289932e78e617af (diff)
downloadrails-f9dda1567ea8d5b27bd9d66ac5a8b43dc67a6b7e.tar.gz
rails-f9dda1567ea8d5b27bd9d66ac5a8b43dc67a6b7e.tar.bz2
rails-f9dda1567ea8d5b27bd9d66ac5a8b43dc67a6b7e.zip
change inheritance to composition
Changes `Mimes` to compose a set rather than inherit from array. With this change we don't need to define as many methods, so ISEQ memory is saved. Also it is clear which methods break the set cache.
Diffstat (limited to 'actionpack/lib/action_dispatch/request/utils.rb')
0 files changed, 0 insertions, 0 deletions