I have this hash:
{ \"title\"=>\"Navy to place breath-test machines on all its ships\", \"url\"=>\"http://feeds.washingtonpost.com/click.phdo?i=a6
:url is a Symbol which is different than the String 'url'
:url
'url'
> :ruby == "ruby" => false
You can convert back and forth between the two using to_s and to_sym
to_s
to_sym
> "ruby".to_sym => :ruby > :ruby.to_s => "ruby"