Is there an easier way other than:

  class C
    @var = "class instance"
    def C.var; @var end
    def class_instance_var; @var = "instance"; self.class.var; end
  end

  p C.new.class_instance_var # -> class_instance

-- 
dave