Sha256: 13566816e33aae96e7f8bdb4822e16c476ff0458ca373e92d675f39f556af2fb
Contents?: true
Size: 333 Bytes
Versions: 21
Compression:
Stored size: 333 Bytes
Contents
# frozen_string_literal: true module Rails module Generators class FacadeGenerator < ::Rails::Generators::NamedBase source_root File.expand_path("../templates", __FILE__) def copy_facade_file template "facade.tt", File.join("app/facades", class_path, "#{file_name}_facade.rb") end end end end
Version data entries
21 entries across 21 versions & 1 rubygems