Methods
C
N
T
Class Public methods
new(target, url_helpers, block)
# File railties/test/path_generation_test.rb, line 15
def initialize(target, url_helpers, block)
  super(target)
  @url_helpers = url_helpers
  @block = block
end
Instance Public methods
controller_class()
# File railties/test/path_generation_test.rb, line 21
def controller_class
  url_helpers = @url_helpers
  block = @block
  Class.new(ActionController::Base) {
    include url_helpers
    define_method(:process) { |name| block.call(self) }
    def to_a; [200, {}, []]; end
  }
end
to_a()
# File railties/test/path_generation_test.rb, line 27
def to_a; [200, {}, []]; end