Sha256: bfb54078a0e7b9222c4f64a6d9d4d9c19324d8bad70503cb580eb4c032f481b0

Contents?: true

Size: 250 Bytes

Versions: 3

Compression:

Stored size: 250 Bytes

Contents

# frozen_string_literal: true

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

  def copy_initializer_file
    copy_file "initializer.rb", "config/initializers/canary_labs.rb"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
canary_labs-0.4.0 lib/generators/initializer/initializer_generator.rb
canary_labs-0.3.0 lib/generators/initializer/initializer_generator.rb
canary_labs-0.2.0 lib/generators/initializer/initializer_generator.rb