Browse files

Revert "Document Rails::Generators::MailerGenerator"

This reverts commit dfb69f2.

Reason: Let's not nodoc without reason.

[ci skip]
  • Loading branch information...
1 parent 8d5fcb6 commit 84d3f7bd097ce88bc7fb2924e6ad2afb4297d01b @vijaydev vijaydev committed May 19, 2013
Showing with 2 additions and 4 deletions.
  1. +2 −4 actionmailer/lib/rails/generators/mailer/mailer_generator.rb
@@ -1,13 +1,11 @@
-module Rails # :nodoc:
- module Generators # :nodoc:
- # Implements the Rails::Generators for creating new mailers.
+module Rails
+ module Generators
class MailerGenerator < NamedBase
source_root File.expand_path("../templates", __FILE__)
argument :actions, type: :array, default: [], banner: "method method"
- # Generates the mailer file for the application.
def create_mailer_file
template "mailer.rb", File.join('app/mailers', class_path, "#{file_name}.rb")

1 comment on commit 84d3f7b


zzak commented on 84d3f7b May 19, 2013

@vijaydev Reason is, Rails::Generators is not documented here, and so nodoc removes it from coverage reports and saves RDoc time.

Please sign in to comment.