class Rails::Configuration::MiddlewareStackProxy

:nodoc:

def delete(*args, &block)

def delete(*args, &block)
  @operations << [:delete, args, block]
end

def initialize

:nodoc:
def initialize
  @operations = []
end

def insert_after(*args, &block)

def insert_after(*args, &block)
  @operations << [:insert_after, args, block]
end

def insert_before(*args, &block)

def insert_before(*args, &block)
  @operations << [:insert_before, args, block]
end

def merge_into(other)

def merge_into(other)
  @operations.each do |operation, args, block|
    other.send(operation, *args, &block)
  end
  other
end

def swap(*args, &block)

def swap(*args, &block)
  @operations << [:swap, args, block]
end

def use(*args, &block)

def use(*args, &block)
  @operations << [:use, args, block]
end