Sha256: b091201dc5713c0c87b09ea46df35b7175f42b87cffb7ba7b2010f690ca5f24b

Contents?: true

Size: 580 Bytes

Versions: 1

Compression:

Stored size: 580 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators/rails/app/app_generator'
require 'eac_rails_base0/app_generator/builder'

module EacRailsBase0
  module AppGenerator
    class Generator < Rails::Generators::AppGenerator
      source_root ::File.join(__dir__, 'templates')
      source_paths << source_root << ::Rails::Generators::AppGenerator.source_root

      def initialize(*args)
        super
      end

      protected

      def get_builder_class # rubocop:disable Style/AccessorMethodName
        ::EacRailsBase0::AppGenerator::Builder
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eac_rails_base0-0.5.0 lib/eac_rails_base0/app_generator/generator.rb