From: Robert Klemme Date: 2010-01-28T18:40:20+09:00 Subject: Re: Add a class variable with a mixin 2010/1/28 Gene Shuman : > Actualy, I can do that.  I just need to modify it externally afterwards > by name. What exactly are you trying to do? Here's one way: module Foo attr_accessor :bar end String.extend Foo irb(main):009:0> String.bar = "nonsense" => "nonsense" irb(main):010:0> String.bar => "nonsense" irb(main):011:0> Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/