lib/i18n/tasks/data/adapter/yaml_adapter.rb in i18n-tasks-0.3.9 vs lib/i18n/tasks/data/adapter/yaml_adapter.rb in i18n-tasks-0.3.10

- old
+ new

@@ -4,16 +4,16 @@ module Adapter module YamlAdapter extend self # @return [Hash] locale tree - def parse(str) - YAML.load(str) + def parse(str, options) + YAML.load(str, options || {}) end # @return [String] - def dump(tree) - tree.to_yaml + def dump(tree, options) + tree.to_yaml(options || {}) end end end end