class RGen::Util::FileCacheMap

Public Instance Methods

orig_store_data(key_path, value_data)
Alias for: store_data
store_data(key_path, value_data) click to toggle source
# File lib/common/ext/rgen.rb, line 6
def store_data(key_path, value_data)
  begin
    orig_store_data(key_path, value_data)
  rescue Exception=>e
    if Bake.options.verbose >= 3
      cf = cache_file(key_path)
      Bake.formatter.printWarning("Warning: Could not write cache file #{cf}")
      if Bake.options.debug
        puts e.message
        puts e.backtrace
      end
    end
  end
end
Also aliased as: orig_store_data