Sha256: 25a2f20f2806494da7efffe6d99c94c556382570c6b1446a8298551481bb9dd3

Contents?: true

Size: 320 Bytes

Versions: 5

Compression:

Stored size: 320 Bytes

Contents

# frozen_string_literal: true

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

    desc 'creates an initializer'

    def copy_initializer
      copy_file 'config/initializers/normalizy.rb', 'config/initializers/normalizy.rb'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
normalizy-1.7.0 lib/generators/normalizy/install_generator.rb
normalizy-1.6.0 lib/generators/normalizy/install_generator.rb
normalizy-1.5.0 lib/generators/normalizy/install_generator.rb
normalizy-1.4.0 lib/generators/normalizy/install_generator.rb
normalizy-1.3.0 lib/generators/normalizy/install_generator.rb