Hi Ok, I thought that I had done this in the past, but now I cannot seem to get it to work. Can someone explain how to extend an object and access a Constant? module M; C=2; def c; puts "c"; end; end nil irb(main):002:0> class A; end nil irb(main):003:0> a=A.new #<A:0x19e818> irb(main):004:0> a.extend(M) #<A:0x19e818> irb(main):005:0> a.c c # => good, this works nil irb(main):006:0> a.C NameError: undefined method `C' for #<A:0x19e818> # => ?? from (irb):6 irb(main):007:0> a::C # => ?? How does a access C? NameError: undefined method `C' for #<A:0x19e818> from (irb):7 Thanks ========================================================= Jim Freeze jim / freeze.org --------------------------------------------------------- Today is a fine day for Ruby programming. http://www.freeze.org =========================================================