Sha256: 9e6b3fe77086a4e1bbc9f7aa70ede5009020ba5fc0f93d50248e1f4e2be68adb

Contents?: true

Size: 193 Bytes

Versions: 19

Compression:

Stored size: 193 Bytes

Contents

class RouteCache
  @cache = {}
  
  def self.clear
    @cache = {}
  end
  
  def self.[](key)
    @cache[key.inspect]
  end
  
  def self.[]=(key,value)
    @cache[key.inspect]=value
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
typo-5.5 lib/route_cache.rb
typo-5.4.4 lib/route_cache.rb
typo-5.4.3 lib/route_cache.rb
typo-5.4.2 lib/route_cache.rb
typo-5.4.1 lib/route_cache.rb
typo-5.4 lib/route_cache.rb
typo-5.0.2 lib/route_cache.rb
typo-5.0.1 lib/route_cache.rb
typo-5.0.3.98.1 lib/route_cache.rb
typo-5.0.3.98 lib/route_cache.rb
typo-5.0 lib/route_cache.rb
typo-5.1.1 lib/route_cache.rb
typo-5.1.2 lib/route_cache.rb
typo-5.1.3 lib/route_cache.rb
typo-5.1.98 lib/route_cache.rb
typo-5.1 lib/route_cache.rb
typo-5.2.98 lib/route_cache.rb
typo-5.2 lib/route_cache.rb
typo-5.3 lib/route_cache.rb