lib/bunch/cache.rb in bunch-0.1.0 vs lib/bunch/cache.rb in bunch-0.2.0
- old
+ new
@@ -1,11 +1,11 @@
module Bunch
module Cache
end
class << Cache
- def initialize
+ def init
@cache = Hash.new { |h, k| h[k] = {} }
end
def stored?(fn)
@cache.keys.include?(fn)
@@ -34,7 +34,7 @@
content
end
end
end
- Cache.initialize
+ Cache.init
end