Sha256: 51220f7309c056bed39c40c10cd0ae572e03697fe35a18552c6cd719db743378

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

module IsThisUsed
  class Railtie < Rails::Railtie
    initializer "is_this_used_railtie.configure_post_initialize_cleanup" do

      config.after_initialize do
        IsThisUsed::CruftCleaner.clean🧹
      end

    rescue StandardError
      # Swallow all errors to prevent initialization failures.
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
is_this_used-0.1.9 lib/is_this_used/railtie.rb
is_this_used-0.1.8 lib/is_this_used/railtie.rb