| Author |
Dynamic method calls
|
Bill Reiflin
Greenhorn
Joined: Dec 08, 2009
Posts: 2
|
|
I have a small program that dynamically calls methods such as column_name= from a hash. Pretty straight forward, except for the = part. I could store the = in the hash, but is ugly and might not always be in the method name.
This is what I have done, but it feels wrong:
Comments?
|
 |
Marc Peabody
pie sneak
Sheriff
Joined: Feb 05, 2003
Posts: 4725
|
|
That's pretty much it. I think I'd put that in Table's initializer though.
|
A good workman is known by his tools.
|
 |
 |
|
|
subject: Dynamic method calls
|
|
|