Skip to content
This repository
Browse code

Prevent any warnings from being printed during RDoc generation

  • Loading branch information...
commit 80ae74dea7c4f91ec47935409f666ae8a9c094a8 1 parent a88fb2f
Joost Baaij authored August 26, 2010
2  actionpack/lib/action_view/helpers/tag_helper.rb
@@ -16,7 +16,7 @@ module TagHelper
16 16
                            autoplay controls loop selected hidden scoped async
17 17
                            defer reversed ismap seemless muted required
18 18
                            autofocus novalidate formnovalidate open).to_set
19  
-      BOOLEAN_ATTRIBUTES.merge(BOOLEAN_ATTRIBUTES.map {|attr| attr.to_sym })
  19
+      BOOLEAN_ATTRIBUTES.merge(BOOLEAN_ATTRIBUTES.map {|attribute| attribute.to_sym })
20 20
 
21 21
       # Returns an empty HTML tag of type +name+ which by default is XHTML
22 22
       # compliant. Set +open+ to true to create an open tag compatible
2  activesupport/lib/active_support/deprecation/proxy_wrappers.rb
@@ -58,7 +58,7 @@ def warn(callstack, called, args)
58 58
         end
59 59
     end
60 60
 
61  
-    class DeprecatedConstantProxy < DeprecationProxy #:nodoc:
  61
+    class DeprecatedConstantProxy < DeprecationProxy #:nodoc:all
62 62
       def initialize(old_const, new_const)
63 63
         @old_const = old_const
64 64
         @new_const = new_const

0 notes on commit 80ae74d

Please sign in to comment.
Something went wrong with that request. Please try again.