Sha256: c0f22b2c4f9829013242b58b85e887ab8fad8d7646afa3e84a66add85e0c051c

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'

module Lite
  module Decorator
    class InstallGenerator < Rails::Generators::Base

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

      def copy_application_query_file
        copy_file('install.rb', 'app/decorators/application_decorator.rb')
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lite-decorator-1.0.1 lib/generators/lite/decorator/install_generator.rb