class Grape::Path::PartsCache

Public Class Methods

new() click to toggle source
# File lib/grape/path.rb, line 77
def initialize
  @cache = Hash.new do |h, parts|
    h[parts] = -parts.join('/')
  end
end