x = "hello"
y = "hello"

puts x.object_id
puts y.object_id

--output:--
2151872720
2151872540

Quote marks are a String object constructor in ruby.

-- 
Posted via http://www.ruby-forum.com/.