Enumerable gives us include?, so remove include?
This commit is contained in:
parent
648fd60ecf
commit
fd26afc93b
@ -66,10 +66,6 @@ def [](i)
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user