Sha256: 9b2a0c6a833d68f94c1ebbbca2a5871b8a4a12d64237ba661d84874c88b83d0b
Contents?: true
Size: 404 Bytes
Versions: 5
Compression:
Stored size: 404 Bytes
Contents
# frozen_string_literal: true Dry::System.register_component(:application_contract, provider: :rails) do init do require "dry/rails/features/application_contract" end start do railtie.set_or_reload( :ApplicationContract, Class.new(Dry::Rails::Features::ApplicationContract).finalize!(railtie) ) end stop do railtie.remove_constant(:ApplicationContract) end end
Version data entries
5 entries across 5 versions & 1 rubygems