# File lib/xtemplate/yaml.rb, line 20 def to_yaml node = deep_dup() node.strip! node.to_hash(Array,true).to_yaml() end