require 'yaml'

str  =  "Hello, world"
num  =  237
arr  =  %w[ Jan Feb Mar Apr ]
hsh  =  {"This" => "is", "just a"=>"hash."}
puts   str.to_yaml
puts   num.to_yaml
puts   arr.to_yaml
puts   hsh.to_yaml
# Output:
# —- "Hello, world"
# —- 237
# —-
# - Jan
# - Feb
# - Mar
# - Apr
# —-
# just a: hash.
# This: is

