Sha256: 35839f71da7f2395b498fa6c961a554162261dbf93407eadd5e763fc528223f1
Contents?: true
Size: 431 Bytes
Versions: 77
Compression:
Stored size: 431 Bytes
Contents
module Rails module Generators class MailerGenerator < NamedBase source_root File.expand_path("../templates", __FILE__) argument :actions, type: :array, default: [], banner: "method method" check_class_collision def create_mailer_file template "mailer.rb", File.join('app/mailers', class_path, "#{file_name}.rb") end hook_for :template_engine, :test_framework end end end
Version data entries
77 entries across 77 versions & 3 rubygems