# File ruby/jlambda.rb, line 110 def add_method(src) begin m = :javassist_CtNewMethod.jclass.make(normalize_block_exp(src),@ctclass) @ctclass.addMethod(m) rescue => e raise RuntimeError.new("Can not make a method of #{@classname} => #{e.message}") end end