class Grape::Path::PartsCache

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/grape/path.rb, line 67
def initialize
  super
  @cache = Hash.new do |h, parts|
    h[parts] = Grape::Router.normalize_path(parts.join('/'))
  end
end