From eaeda503e89ac7f182d9a43a1917f5cc852cdb14 Mon Sep 17 00:00:00 2001 From: Joost Baaij Date: Wed, 25 Aug 2010 18:57:27 +0200 Subject: change rdoc to conform to api guidelines --- actionpack/lib/abstract_controller/helpers.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'actionpack/lib/abstract_controller/helpers.rb') diff --git a/actionpack/lib/abstract_controller/helpers.rb b/actionpack/lib/abstract_controller/helpers.rb index 4374b439d0..0c96a6ed15 100644 --- a/actionpack/lib/abstract_controller/helpers.rb +++ b/actionpack/lib/abstract_controller/helpers.rb @@ -40,7 +40,7 @@ module AbstractController # <% if logged_in? -%>Welcome, <%= current_user.name %><% end -%> # # ==== Parameters - # meths:: The name of a method on the controller + # * method[, method] - A name or names of a method on the controller # to be made available on the view. def helper_method(*meths) meths.flatten.each do |meth| @@ -55,8 +55,8 @@ module AbstractController # The +helper+ class method can take a series of helper module names, a block, or both. # # ==== Parameters - # *args - # block:: A block defining helper methods + # * *args - Module, Symbol, String, :all + # * block - A block defining helper methods # # ==== Examples # When the argument is a module it will be included directly in the template class. @@ -100,7 +100,7 @@ module AbstractController # rendered through this controller. # # ==== Parameters - # mod:: The module to include into the current helper module + # * module - The module to include into the current helper module # for the class def add_template_helper(mod) _helpers.module_eval { include mod } @@ -118,10 +118,10 @@ module AbstractController # are returned. # # ==== Parameters - # args:: A list of helpers + # * args - An array of helpers # # ==== Returns - # Array[Module]:: A normalized list of modules for the list of + # * Array - A normalized list of modules for the list of # helpers provided. def modules_for_helpers(args) args.flatten.map! do |arg| -- cgit v1.2.3