From: Ken Mitchell Date: 2007-04-03T06:02:41+09:00 Subject: Nested Modules/Classes I have what I feel should be a simple issue. Look at the following: ############################ # Test of nested modules/classes ############################ class Global module TestMod TEST = "test1" def print_test puts "test2" end end#module TestMod include TestMod puts TEST print_test end#class Global ############################## ->test1 ->test.rb:22: undefined local variable or method 'print_test' for Global:Class Whether "Global" is a Class or a Method the same happens. However, if I comment out "Global" completely, out put is as expected: ->test1 ->test2 Thanks in advance. -- Posted via http://www.ruby-forum.com/.