> methName = "myMethod"
> a = "test"
> eval %{
>   def #{ methName }
>     ...
>   end
> }

That worked a treat!  Thanks very much for the help.