Sha256: f4c49eac806bc3315770f85c210cb18144d7b619c4c77569ace7833072776cb6
Contents?: true
Size: 488 Bytes
Versions: 26
Compression:
Stored size: 488 Bytes
Contents
## # Toplevel Self(Ext) Test assert('Toplevel#include') do module ToplevelTestModule1 def method_foo :foo end CONST_BAR = :bar end module ToplevelTestModule2 CONST_BAR = :bar2 end self.include ToplevelTestModule2, ToplevelTestModule1 assert_true self.class.included_modules.include?( ToplevelTestModule1 ) assert_true self.class.included_modules.include?( ToplevelTestModule2 ) assert_equal :foo, method_foo assert_equal :bar2, CONST_BAR end
Version data entries
26 entries across 26 versions & 3 rubygems