class TranslateYamlGenerator::Writer::YamlWriter

Public Instance Methods

result() click to toggle source
# File lib/translate_yaml_generator/writer.rb, line 71
def result
  root = {
    @locale => @root
  }
  result = YAML.dump(root)
  result.gsub "---\n", ""
end