Sha256: 260d3390b30e3a287c0bf82b8260866b2fca965689cf83f9cd125c9a4bc8fe76
Contents?: true
Size: 353 Bytes
Versions: 21
Compression:
Stored size: 353 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
21 entries across 21 versions & 1 rubygems