On Fri, Oct 9, 2009 at 8:39 AM, James Somers <jemburula / hotmail.com> wrote:
...
> function_name = "some_function"
> function_args = "12, 14, 'james'"
> Klass.send function_name, function_args
>
> Is there any way to do this? I have looked at things like *args but I
> would really like to keep the signature of the function the same because
> it'd require a lot of refactoring otherwise.


1 then you may need to adjust the calling, eg
>>  Klass.send function_name, *function_args.split(",")

2 or you can use eval  or module_eval also

kind regards -botp