Hi,

In message "strange behavior"
    on 02/01/30, mengx / nielsenmedia.com <mengx / nielsenmedia.com> writes:

|Any Idea?

Visible constants are:

  * constants defined in the class/module.
  * constants defined in the outer class/module.
  * constants defined in the ancestors.

CC this case does not satisfy any of the conditions above.

|What can make CC visible to "B" in the first program ?

"include" C from module B.

|module C
|	CC = 1
|end
|
|module A
|	include C
|	puts CC
|	module B
                include C
|		puts CC
|	end
|end

							matz.