From: Aryk Grosz Date: 2008-02-08T08:55:05+09:00 Subject: Difference between class_eval and just adding the function? Lets say I have module A class B def t puts "hi" end end end And I want to add a function to it. Whats the difference between: module A class B def new_function puts "foo" end end end ***AND*** A::B.class_eval do def new_function puts "foo" end end Is there any difference? -- Posted via http://www.ruby-forum.com/.