Sha256: 4f5c843f5c7187ce31e2b02d341e6ceeed0b66a8c2c359028f65d1daf7b7c1bc

Contents?: true

Size: 338 Bytes

Versions: 4

Compression:

Stored size: 338 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module Dbt
    module Generators
      class InitializerGenerator < Rails::Generators::Base
        source_root File.expand_path('templates', __dir__)

        def copy_initializer_file
          copy_file 'dbt.rb', 'config/initializers/dbt.rb'
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activerecord-dbt-0.4.0 lib/generators/active_record/dbt/initializer/initializer_generator.rb
activerecord-dbt-0.3.0 lib/generators/active_record/dbt/initializer/initializer_generator.rb
activerecord-dbt-0.2.0 lib/generators/active_record/dbt/initializer/initializer_generator.rb
activerecord-dbt-0.1.0 lib/generators/active_record/dbt/initializer/initializer_generator.rb