yamotech/activerecord-dbt

View on GitHub
lib/active_record/dbt.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require 'zeitwerk'
loader = Zeitwerk::Loader.for_gem_extension(ActiveRecord)
loader.setup

module ActiveRecord
  module Dbt
    def self.configure
      yield config = ActiveRecord::Dbt::Config.instance

      config
    end
  end
end