Sha256: 1d08d90193cb0172f659d48fdb831f25f1af2ed779ffbb71dab8c583ed26bbdf

Contents?: true

Size: 324 Bytes

Versions: 7

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

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

    desc 'creates an initializer'

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
normalizy-1.2.0 lib/generators/normalizy/install_generator.rb
normalizy-1.1.1 lib/generators/normalizy/install_generator.rb
normalizy-1.1.0 lib/generators/normalizy/install_generator.rb
normalizy-1.0.1 lib/generators/normalizy/install_generator.rb
normalizy-1.0.0 lib/generators/normalizy/install_generator.rb
normalizy-0.2.0 lib/generators/normalizy/install_generator.rb
normalizy-0.1.0 lib/generators/normalizy/install_generator.rb