Sha256: 8da549b7f174f02e91d54e7bb3628ac61b8e6ab7f985c7d5e84888e21b21291e
Contents?: true
Size: 326 Bytes
Versions: 15
Compression:
Stored size: 326 Bytes
Contents
require 'facets/module/nesting.rb' require 'test/unit' class TestModuleNesting < Test::Unit::TestCase module M module N class C def n self.class.nesting end end end end def test_nesting assert_equal( [TestModuleNesting, M, M::N, M::N::C], M::N::C.new.n ) end end
Version data entries
15 entries across 15 versions & 1 rubygems