Sha256: 95f8569c79279fe357ab1a54b8ab00141f000ba1fcfe55a2eeee195476fee337
Contents?: true
Size: 517 Bytes
Versions: 1
Compression:
Stored size: 517 Bytes
Contents
module External class Array end end require 'test/unit' class NamespaceConfilctsCheck < Test::Unit::TestCase include External # this is why it's problematic to use a naming scheme like: # External::Index # External::Array # External::Archive # # even if you alias to the top level, within External itself # there is some ambiguity about whether you're using Array # or External::Array def test_array_now_refers_to_external_array assert_equal Array, External::Array end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
external-0.1.0 | test/check/namespace_conflicts_check.rb |