lib/herodot/configuration.rb in herodot-0.1.3 vs lib/herodot/configuration.rb in herodot-0.1.4
- old
+ new
@@ -37,8 +37,8 @@
def save_configuration
File.open(CONFIG_FILE, 'w') { |f| YAML.dump(@config, f) }
end
def load_configuration
- File.open(CONFIG_FILE) { |f| YAML.safe_load(f) }
+ File.open(CONFIG_FILE) { |f| YAML.load(f) }
end
end