From: Gary Wright Date: 2007-02-12T09:32:39+09:00 Subject: Re: Backport from ruby 1.9, including constants On Feb 11, 2007, at 7:02 PM, Victor Zverok Shepelev wrote: > module Constants > TEST = 5 > end > > class A > end > > a = A.new > > a.instance_eval{ > extend Constants > p TEST #<== here > } The only solutions I can think of involve explicitly referencing the class: class Object def singleton_class (class <