What is this '=>' operator called?
Does it have a name?
What is this '=>' operator called?
Does it have a name?
know if it has a true name. (Try it next time you're reading code with a hash.)
-Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com
I believe it's called a "hashrocket." At least that's what the guys and gals at http://www.hashrocket.com/ would have me believe.
--Jeremy
I read it as “points to”
Thanks everyone. I think I am going to go with hashrocket... I just
like that...
One of my Ruby books describes it as "the sequence of characters" in the context of a Hash explanation.
*shrug*