Permalink
Browse files

nodoc Erb::Generators [ci skip]

  • Loading branch information...
1 parent 4e8ce2c commit 0ee5433ae6e470861b107c702212fe5c081513b6 Francesco Rodriguez committed Oct 7, 2012
@@ -1,7 +1,7 @@
require 'rails/generators/named_base'
-module Erb
- module Generators
+module Erb # :nodoc:
+ module Generators # :nodoc:
class Base < Rails::Generators::NamedBase #:nodoc:
protected
@@ -1,8 +1,8 @@
require 'rails/generators/erb'
-module Erb
- module Generators
- class ControllerGenerator < Base
+module Erb # :nodoc:
+ module Generators # :nodoc:
+ class ControllerGenerator < Base # :nodoc:
argument :actions, :type => :array, :default => [], :banner => "action action"
def copy_view_files
@@ -1,8 +1,8 @@
require 'rails/generators/erb/controller/controller_generator'
-module Erb
- module Generators
- class MailerGenerator < ControllerGenerator
+module Erb # :nodoc:
+ module Generators # :nodoc:
+ class MailerGenerator < ControllerGenerator # :nodoc:
protected
def format
@@ -1,9 +1,9 @@
require 'rails/generators/erb'
require 'rails/generators/resource_helpers'
-module Erb
- module Generators
- class ScaffoldGenerator < Base
+module Erb # :nodoc:
+ module Generators # :nodoc:
+ class ScaffoldGenerator < Base # :nodoc:
include Rails::Generators::ResourceHelpers
argument :attributes, :type => :array, :default => [], :banner => "field:type field:type"

2 comments on commit 0ee5433

This commit added an invalid multibyte character in the space before each instance of # :nodoc: causing a scaffolding to fail.

Member

vijaydev replied Oct 10, 2012

Have fixed them in e40f515

Please sign in to comment.