Sha256: c021994c7c8b77441d8fb7cbaba0629040102590f87e90dd10061cdc35af5473
Contents?: true
Size: 424 Bytes
Versions: 7
Compression:
Stored size: 424 Bytes
Contents
class Module alias append_features_without_glimmer append_features def append_features(mod) if self == Glimmer && mod == Object Glimmer::Config.logger.debug { 'Appending Glimmer to Singleton Class of main object (not appending to Object everywhere to avoid method pollution)' } TOPLEVEL_BINDING.receiver.singleton_class.include(self) else append_features_without_glimmer(mod) end end end
Version data entries
7 entries across 7 versions & 1 rubygems