Sha256: cc65bfaa51f40b546ed5a594d882d18d8d8bf5df9f35331276c3a07a4cb40f66

Contents?: true

Size: 408 Bytes

Versions: 10

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'

module RailsExecution
  module Generators
    class FileUploadGenerator < Rails::Generators::Base

      source_root File.join(__dir__, 'templates')

      def copy_config
        template 'file_uploader.rb', 'lib/rails_execution/file_uploader.rb'
        template 'file_reader.rb', 'lib/rails_execution/file_reader.rb'
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_execution-0.1.12 lib/generators/rails_execution/file_upload_generator.rb
rails_execution-0.1.11 lib/generators/rails_execution/file_upload_generator.rb
rails_execution-0.1.10 lib/generators/rails_execution/file_upload_generator.rb
rails_execution-0.1.9 lib/generators/rails_execution/file_upload_generator.rb
rails_execution-0.1.8 lib/generators/rails_execution/file_upload_generator.rb
rails_execution-0.1.7 lib/generators/rails_execution/file_upload_generator.rb
rails_execution-0.1.5 lib/generators/rails_execution/file_upload_generator.rb
rails_execution-0.1.4 lib/generators/rails_execution/file_upload_generator.rb
rails_execution-0.1.2 lib/generators/rails_execution/file_upload_generator.rb
rails_execution-0.1.1 lib/generators/rails_execution/file_upload_generator.rb