From: HarryO Date: 2001-11-17T04:28:10+09:00 Subject: [ruby-talk:25622] Re: Creating methods on the fly > methName = "myMethod" > a = "test" > eval %{ > def #{ methName } > ... > end > } That worked a treat! Thanks very much for the help.