Sha256: 3c3aab575ac469a89c04b225ccba669fb18e1b34e76dfec8131bf3494ce02aa5

Contents?: true

Size: 324 Bytes

Versions: 9

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

module NextRails
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Copy NextRails default files"
      source_root File.expand_path("templates", __dir__)

      def copy_config
        template "config/initializers/next_rails.rb"
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
next_rails_scaffold-0.1.9 lib/generators/next_rails/install_generator.rb
next_rails_scaffold-0.1.8 lib/generators/next_rails/install_generator.rb
next_rails_scaffold-0.1.7 lib/generators/next_rails/install_generator.rb
next_rails_scaffold-0.1.6 lib/generators/next_rails/install_generator.rb
next_rails_scaffold-0.1.5 lib/generators/next_rails/install_generator.rb
next_rails_scaffold-0.1.4 lib/generators/next_rails/install_generator.rb
next_rails_scaffold-0.1.3 lib/generators/next_rails/install_generator.rb
next_rails_scaffold-0.1.2 lib/generators/next_rails/install_generator.rb
next_rails_scaffold-0.1.1 lib/generators/next_rails/install_generator.rb