Skip to content
This repository
Browse code

fixed capitalization

  • Loading branch information...
commit e9eaae1a051039638dee1bce68cc835c1377a9ce 1 parent eaeda50
Joost Baaij authored August 25, 2010
16  actionpack/lib/abstract_controller/base.rb
@@ -6,8 +6,8 @@ module AbstractController
6 6
   class Error < StandardError; end
7 7
   class ActionNotFound < StandardError; end
8 8
 
9  
-  # AbstractController is a low-level API. Nobody should be using it directly,
10  
-  # and subclasses of AbstractController (like ActionController::Base) are
  9
+  # <tt>AbstractController::Base</tt> is a low-level API. Nobody should be
  10
+  # using it directly, and subclasses (like ActionController::Base) are
11 11
   # expected to provide their own +render+ method, since rendering means
12 12
   # different things depending on the context.  
13 13
   class Base
@@ -40,12 +40,12 @@ def internal_methods
40 40
         controller.public_instance_methods(true)
41 41
       end
42 42
 
43  
-      # The list of hidden actions to an empty Array. Defaults to an
44  
-      # empty Array. This can be modified by other modules or subclasses
  43
+      # The list of hidden actions to an empty array. Defaults to an
  44
+      # empty array. This can be modified by other modules or subclasses
45 45
       # to specify particular actions as hidden.
46 46
       #
47 47
       # ==== Returns
48  
-      # * <tt>Array</tt> - An array of method names that should not be considered actions.
  48
+      # * <tt>array</tt> - An array of method names that should not be considered actions.
49 49
       def hidden_actions
50 50
         []
51 51
       end
@@ -57,7 +57,7 @@ def hidden_actions
57 57
       # itself. Finally, #hidden_actions are removed.
58 58
       #
59 59
       # ==== Returns
60  
-      # * <tt>Array</tt> - A list of all methods that should be considered actions.
  60
+      # * <tt>array</tt> - A list of all methods that should be considered actions.
61 61
       def action_methods
62 62
         @action_methods ||= begin
63 63
           # All public instance methods of this class, including ancestors
@@ -86,7 +86,7 @@ def clear_action_methods!
86 86
       # controller_name.
87 87
       #
88 88
       # ==== Returns
89  
-      # * <tt>String</tt>
  89
+      # * <tt>string</tt>
90 90
       def controller_path
91 91
         @controller_path ||= name.sub(/Controller$/, '').underscore unless anonymous?
92 92
       end
@@ -185,7 +185,7 @@ def _handle_action_missing
185 185
       # * <tt>action_name</tt> - An action name to find a method name for
186 186
       #
187 187
       # ==== Returns
188  
-      # * <tt>String</tt> - The name of the method that handles the action
  188
+      # * <tt>string</tt> - The name of the method that handles the action
189 189
       # * <tt>nil</tt>    - No method name could be found. Raise ActionNotFound.
190 190
       def method_for_action(action_name)
191 191
         if action_method?(action_name) then action_name

0 notes on commit e9eaae1

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