C
Chris Irish
I just read a FAQ page online about Ruby symbols and someone mentions this
Also, the entirely realistic reasoning for using symbols: If you
are going to refer to a method name, use a symbol. Because by
defining the method, the symbol exists anyway.
Can someone show me an example of this? Is this referring to the method
of a class?
Also, the entirely realistic reasoning for using symbols: If you
are going to refer to a method name, use a symbol. Because by
defining the method, the symbol exists anyway.
Can someone show me an example of this? Is this referring to the method
of a class?