class Rails::Generators::MailerGenerator
Public Instance Methods
generate_locale_file()
click to toggle source
# File lib/generators/rails/mailer_generator.rb, line 39 def generate_locale_file invoke('locale:mailer', [name]) if configuration.autoload_mailer_generator_locale end
generate_test_file()
click to toggle source
# File lib/generators/rails/mailer_generator.rb, line 43 def generate_test_file framework = configuration.test_framework return if framework.nil? invoke("#{framework}:mailer", [name]) rescue nil end