From: "Iñaki Baz Castillo" Date: 2011-05-24T20:45:29+09:00 Subject: Using sprintf() to print a Hash Hi, I just have a single Hash and want to print it into the standar output as follows (key: value): ------------------------------------ listen_ip: 1.2.3.4 listen_port: 90 use_tls: true compression: false ------------------------------------ I'm trying to play with sprintf by using %20s and so, with no success. Any help please? Thanks a lot. -- Iñaki Baz Castillo