XML Ruby

require 'yaml'
puts ({ 'measurements' => 'metric' }.to_yaml)
puts ({ :measurements => :metric }.to_yaml)