From: Peter McLain Date: 2010-03-04T04:01:55+09:00 Subject: Class vs Module in constant lookup Constant lookup behaves differently if there is a class versus a module in the name: XYZ = 10 module M end class C end p defined? M::XYZ # => nil p defined? C::XYZ # => "constant" Is this difference intended? If so, what is the rationale? -- Peter McLain peter.mclain@gemstone.com