lib/usher/grapher.rb in joshbuddy-usher-0.0.2 vs lib/usher/grapher.rb in joshbuddy-usher-0.0.3
- old
+ new
@@ -10,9 +10,10 @@
def reset!
@significant_keys = nil
@orders = Hash.new{|h,k| h[k] = Hash.new{|h2, k2| h2[k2] = []}}
@key_count = Hash.new(0)
+ @cache = {}
end
def add_route(route)
route.paths.each do |path|
unless path.dynamic_set.size.zero?