Sha256: d448794de886464651c163a970e8e91f13a0a7694eaf65a336a0e878c0d0ae40

Contents?: true

Size: 704 Bytes

Versions: 13

Compression:

Stored size: 704 Bytes

Contents

# frozen_string_literal: true
module AsanaExceptionNotifier
  # module that defines the available generators for this gem
  module Generators
    # module that is used for formatting numbers using metrics
    class InstallGenerator < Rails::Generators::Base
      desc 'Creates a AsanaExceptionNotifier initializer.'

      source_root File.expand_path('../templates', __FILE__)

      # This method will copy the template from this gem into the `config/initializers/asana_exception_notifier.rb` file in the application
      #
      # @return [void]
      def copy_initializer
        template 'asana_exception_notifier.rb', 'config/initializers/asana_exception_notifier.rb'
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
asana_exception_notifier-2.2.0 lib/generators/asana_exception_notifier/install_generator.rb
asana_exception_notifier-2.1.0 lib/generators/asana_exception_notifier/install_generator.rb
asana_exception_notifier-2.0.2 lib/generators/asana_exception_notifier/install_generator.rb
asana_exception_notifier-2.0.1 lib/generators/asana_exception_notifier/install_generator.rb
asana_exception_notifier-2.0.0 lib/generators/asana_exception_notifier/install_generator.rb
asana_exception_notifier-1.1.0 lib/generators/asana_exception_notifier/install_generator.rb
asana_exception_notifier-1.0.2 lib/generators/asana_exception_notifier/install_generator.rb
asana_exception_notifier-1.0.1 lib/generators/asana_exception_notifier/install_generator.rb
asana_exception_notifier-1.0.0 lib/generators/asana_exception_notifier/install_generator.rb
asana_exception_notifier-0.8.0 lib/generators/asana_exception_notifier/install_generator.rb
asana_exception_notifier-0.7.0 lib/generators/asana_exception_notifier/install_generator.rb
asana_exception_notifier-0.6.0 lib/generators/asana_exception_notifier/install_generator.rb
asana_exception_notifier-0.5.0 lib/generators/asana_exception_notifier/install_generator.rb