ruby are spaces in keys of hashes allowed code example
Example: ruby are spaces in keys of hashes allowed
# Any Object can be used as a key
# so this is allowed:
hash = {
"k e y w i t h S P A C E S" => "is valid"
}
puts hash.inspect
#> {"k e y w i t h S P A C E S"=>"is valid"}