New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Ruby symbols
:name or name: what is the symbol from these?
1 Answer
+ 2
I don't understand the question, but if its about syntax than:
:symbol => something
This is depreciated style, but still valid
and
symbol: something
is the new syntax.