Possible Duplicate:
In Ruby what does “=>” mean and how does it work?
Just wondering what the =>
operator does in Ruby?
Possible Duplicate:
In Ruby what does “=>” mean and how does it work?
Just wondering what the =>
operator does in Ruby?
It points to a value of a key in a hash :
{:key => 'value'}