B
bmgz
I am a new Ruby recruit (thanks to *ahem*, Rails)..
What is the best way to do this:
* obj.'string'+var as a method?
I am currently using:
* obj.send('string'+var)
...which works fine, but is this correct or bad practice?
What is the best way to do this:
* obj.'string'+var as a method?
I am currently using:
* obj.send('string'+var)
...which works fine, but is this correct or bad practice?