Class: RGen::Util::FileCacheMap
- Inherits:
-
Object
- Object
- RGen::Util::FileCacheMap
- Defined in:
- lib/common/ext/rgen.rb
Instance Method Summary collapse
Instance Method Details
#orig_store_data ⇒ Object
5 |
# File 'lib/common/ext/rgen.rb', line 5 alias_method :orig_store_data, :store_data |
#store_data(key_path, value_data) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# 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..verbose >= 3 cf = cache_file(key_path) Bake.formatter.printWarning("Warning: Could not write cache file #{cf}") if Bake..debug puts e. puts e.backtrace end end end end |