lib/rivendell/import/config_loader.rb in rivendell-import-0.10 vs lib/rivendell/import/config_loader.rb in rivendell-import-1.01

- old
+ new

@@ -11,9 +11,17 @@ def load Kernel.load file end + def current_config + ::File.read file + end + + def save(config) + ::File.write absolute_path, config + end + def listen_file return unless auto_reload? callback = Proc.new do |modified, added, removed| Rivendell::Import.logger.debug "Configuration changed ? #{[modified, added, removed].inspect}"