Skip to content

Commit

Permalink
Enumerable gives us include?, so remove include?
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Mar 1, 2011
1 parent 648fd60 commit fd26afc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions actionpack/lib/action_dispatch/middleware/stack.rb
Expand Up @@ -66,10 +66,6 @@ def [](i)
middlewares[i]
end

def include?(item)
middlewares.include? item
end

def initialize_copy(other)
self.middlewares = other.middlewares.dup
end
Expand Down

0 comments on commit fd26afc

Please sign in to comment.