string methodString= "MyMethod()";
//execute methodString; ??????
Not the solution I was looking for
I desire to enter the methods dependent on variable values created. This would include overloading.
Yes, that is an option, although I was hoping that a more direct approach was available, as is in some other languages.
eval 'MyMethod()' # Ruby code to execute a method from a string