# File lib/grape/middleware/stack.rb, line 19 def ==(other) case other when Middleware klass == other.klass when Class klass == other || (name.nil? && klass.superclass == other) end end