Sha256: d939745a0b32cb0b322b5dad48f139facf4e364db789ed0a4a79c9c380e13dfe

Contents?: true

Size: 369 Bytes

Versions: 2

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators/base'

module Slow
  module Events
    module Generators
      class ConfigGenerator < Rails::Generators::Base
        source_root File.expand_path('../templates', __dir__)

        def copy_initializer
          template 'config.rb', 'config/initializers/slow_events.rb'
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slow-events-0.1.1 lib/generators/slow/events/config_generator.rb
slow-events-0.1.0 lib/generators/slow/events/config_generator.rb