Sha256: 5e6e55326a5d5ee4b80d50fdff18380fe42b91aadfa68fb8e97d10105d4aabcd
Contents?: true
Size: 389 Bytes
Versions: 3
Compression:
Stored size: 389 Bytes
Contents
# coding: utf-8 require 'yaml' module I18n::Tasks module Data module Adapter module YamlAdapter extend self # @return [Hash] locale tree def parse(str, options) YAML.load(str, options || {}) end # @return [String] def dump(tree, options) tree.to_yaml(options || {}) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
i18n-tasks-0.4.5 | lib/i18n/tasks/data/adapter/yaml_adapter.rb |
i18n-tasks-0.4.4 | lib/i18n/tasks/data/adapter/yaml_adapter.rb |
i18n-tasks-0.4.3 | lib/i18n/tasks/data/adapter/yaml_adapter.rb |