1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Enumerable gives us include?, so remove include?

This commit is contained in:
Aaron Patterson 2011-03-01 10:21:44 -08:00
parent 648fd60ecf
commit fd26afc93b

View file

@ -66,10 +66,6 @@ module ActionDispatch
middlewares[i] middlewares[i]
end end
def include?(item)
middlewares.include? item
end
def initialize_copy(other) def initialize_copy(other)
self.middlewares = other.middlewares.dup self.middlewares = other.middlewares.dup
end end