From: "Iñaki Baz Castillo" Date: 2008-06-30T00:34:12+09:00 Subject: How to doing a "grep -v" to hide "---" line added by Hash#to_yaml ? Hi, when I convert a Hash to a YAML object and print it a line "---" is added at the beginning: --------------------------------------------------------- cli> require 'yaml' cli> puts({1=>2,"ABC" => {"a"=>"A","b"=>"B"}}.to_yaml) --- ABC: a: A b: B 1: 2 => nil --------------------------------------------------------- Well, how could I hide that annoyin "---" line? Maybe using "grep" in some way? other suggestion? Thanks a lot. -- Iñaki Baz Castillo