From: George Ogata Date: 2004-08-28T19:08:11+09:00 Subject: #define_method inconsistency Hi, Just wondering if this is a bug: class C define_method(:f){} end p C.public_instance_methods.include?('f') C.send(:define_method, :f){} p C.public_instance_methods.include?('f') prints: true false whereas I expected: true true That is, #define_method makes private methods when sent from outside, but makes public methods when called on `self'. Actually, it outputs the latter in irb, but not in naked ruby. Using latest CVS.