Sha256: d4aaff5b7edf226d6bd056322af3a41e4567ec8916cbbc1c42e4e8e6447cbddd
Contents?: true
Size: 352 Bytes
Versions: 4
Compression:
Stored size: 352 Bytes
Contents
# frozen_string_literal: true module Rails module Generators class InteractorGenerator < ::Rails::Generators::NamedBase source_root File.expand_path("../templates", __FILE__) def copy_interactor_file template "interactor.tt", File.join("app/interactors", class_path, "#{file_name}_interactor.rb") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems