decko-commons/decko

View on GitHub
card/config/initializers/02_patches/zeitwerk.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Patches
  module Zeitwerk
    def reload
      super
      return unless reloading_enabled?

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