class Grape::Router::BaseRoute::CaptureIndexCache

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/grape/router/base_route.rb, line 30
def initialize
  super
  @cache = Hash.new do |h, index|
    h[index] = "_#{index}"
  end
end