Related methods

Define unnamed class which has methodname as instance method, and
return it.

example:

class MyClass_def initialize(arg1,arg2)@arg1=arg1;@arg2=arg2endendfilename='example.rhtml'# @arg1 and @arg2 are used in example.rhtmlerb=ERB.new(File.read(filename))erb.filename=filenameMyClass=erb.def_class(MyClass_,'render()')printMyClass.new('foo',123).render()