class Grape::Router::Pattern::PatternCache
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/grape/router/pattern.rb, line 67 def initialize super @cache = Hash.new do |h, (pattern, suffix)| h[[pattern, suffix]] = -"#{pattern}#{suffix}" end end