# frozen_string_literal: true module ConfigDefault::Init extend self def init_rails_monkey_patch! return unless Object.const_defined?(:Rails) Rails::Application.prepend(ConfigDefault::RailsApplicationExtension) Rails::Application::Configuration.prepend(ConfigDefault::RailsApplicationConfigurationExtension) end end