Sha256: 737e04e2a0cf61621b979276c539701317c137f88c9cde5d5418941690d8b091

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true
module ActionInteractor
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      def copy_application_interactor_file
        template "application_interactor.rb", File.join("app/interactors/application_interactor.rb")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lightrails-0.0.7 lib/generators/action_interactor/install_generator.rb
lightrails-0.0.6 lib/generators/action_interactor/install_generator.rb