+ 2

Ruby symbols

:name or name: what is the symbol from these?

21st Nov 2017, 12:59 PM
Akila Godigamuwa
Akila Godigamuwa - avatar
1 Réponse
+ 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.
21st Nov 2017, 1:25 PM
Jakub Miziński
Jakub Miziński - avatar