diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-03-01 10:21:44 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-03-01 10:21:44 -0800 |
commit | fd26afc93be89df62584f6b28bd26ec9eea7ff00 (patch) | |
tree | d2c86508fb46676e7200a7cdd7295df6089c0507 /actionpack/lib/action_dispatch/middleware/stack.rb | |
parent | 648fd60ecf72e77c6326aac63244d9305611ed0c (diff) | |
download | rails-fd26afc93be89df62584f6b28bd26ec9eea7ff00.tar.gz rails-fd26afc93be89df62584f6b28bd26ec9eea7ff00.tar.bz2 rails-fd26afc93be89df62584f6b28bd26ec9eea7ff00.zip |
Enumerable gives us include?, so remove include?
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/stack.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/stack.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/stack.rb b/actionpack/lib/action_dispatch/middleware/stack.rb index 852f697d91..a5f651297a 100644 --- a/actionpack/lib/action_dispatch/middleware/stack.rb +++ b/actionpack/lib/action_dispatch/middleware/stack.rb @@ -66,10 +66,6 @@ module ActionDispatch middlewares[i] end - def include?(item) - middlewares.include? item - end - def initialize_copy(other) self.middlewares = other.middlewares.dup end |