Sha256: 4332ac291cd774626ce55c3a5795e66ef05c367de135eaba3e736470a79da52b

Contents?: true

Size: 252 Bytes

Versions: 6

Compression:

Stored size: 252 Bytes

Contents

module Patches
  module Zeitwerk
    def reload
      super
      return unless reloading_enabled?

      # reloading the Card class triggers also ::Card::Mod.load
      # via the after_card hook
      ::Card
      # ::Card::Mod.load
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
card-1.100.0 config/initializers/02_patches/zeitwerk.rb
card-1.99.6 config/initializers/02_patches/zeitwerk.rb
card-1.99.5 config/initializers/02_patches/zeitwerk.rb
card-1.99.4 config/initializers/02_patches/zeitwerk.rb
card-1.99.3 config/initializers/02_patches/zeitwerk.rb
card-1.99.2 config/initializers/02_patches/zeitwerk.rb