ITeye博客

Ruby yaml转换xml

夜鸣猪 · 2012-09-04 21:02 · Ruby On Rails · 编程语言 · Markdown


require 'active_support/core_ext'
YAML.parse("key: value").transform.to_xml

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。