Sha256: 195f165e89ec076fe19a36dcff7abce8a8284cab5b774baecafae91fe36d31db

Contents?: true

Size: 266 Bytes

Versions: 11

Compression:

Stored size: 266 Bytes

Contents

# frozen_string_literal: true

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

    def copy_initializer_file
      copy_file 'initializer.rb', 'config/initializers/loco.rb'
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
loco-rails-7.0.0.pre lib/generators/loco/initializer/initializer_generator.rb
loco-rails-6.2.0 lib/generators/loco/initializer/initializer_generator.rb
loco-rails-6.1.0 lib/generators/loco/initializer/initializer_generator.rb
loco-rails-6.0.0 lib/generators/loco/initializer/initializer_generator.rb
loco-rails-5.0.0 lib/generators/loco/initializer/initializer_generator.rb
loco-rails-4.1.1 lib/generators/loco/initializer/initializer_generator.rb
loco-rails-4.1.0 lib/generators/loco/initializer/initializer_generator.rb
loco-rails-4.0.0 lib/generators/loco/initializer/initializer_generator.rb
loco-rails-3.0.6 lib/generators/loco/initializer/initializer_generator.rb
loco-rails-3.0.5 lib/generators/loco/initializer/initializer_generator.rb
loco-rails-3.0.4 lib/generators/loco/initializer/initializer_generator.rb