Sha256: 3f09f69991b76299e19b22978d86b40febe3f8990ff517fb341bbc33dbccfd76

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

# frozen_string_literal: true

module Zeitwerk::ConstAdded
  def const_added(cname)
    if loader = Zeitwerk::ExplicitNamespace.__loader_for(self, cname)
      loader.on_namespace_loaded(const_get(cname, false))
    end
    super
  end

  Module.prepend(self)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zeitwerk-2.7.0 lib/zeitwerk/core_ext/module.rb