U:RDoc::AnyMethod[iI"helper:EFI"5AbstractController::Helpers::ClassMethods#helper;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"ZThe +helper+ class method can take a series of helper module names, a block, or both.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading:
leveli	:	textI"Parameters;To:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;	[o;
;	[I"2<tt>*args</tt> - Module, Symbol, String, :all;To;;0;	[o;
;	[I"5<tt>block</tt> - A block defining helper methods;T@S;;i	;I"Examples;To;
;	[I"VWhen the argument is a module it will be included directly in the template class.;To:RDoc::Markup::Verbatim;	[I".helper FooHelper # => includes FooHelper
;T:@format0o;
;	[	I"mWhen the argument is a string or symbol, the method will provide the "_helper" suffix, require the file ;TI"nand include the module in the template class.  The second form illustrates how to include custom helpers ;TI"uwhen working with namespaced controllers, or other cases where the file containing the helper definition is not ;TI"*in one of Rails' standard load paths:;To;;	[I"Ohelper :foo             # => requires 'foo_helper' and includes FooHelper
;TI"dhelper 'resources/foo'  # => requires 'resources/foo_helper' and includes Resources::FooHelper
;T;0o;
;	[I"tAdditionally, the +helper+ class method can receive and evaluate a block, making the methods defined available ;TI"to the template.;T@o;;	[I"# One line
;TI"0helper { def hello() "Hello, world!" end }
;TI"
;TI"# Multi-line
;TI"helper do
;TI"  def foo(bar)
;TI"#    "#{bar} is the very best"
;TI"  end
;TI"	end
;T;0o;
;	[I"oFinally, all the above styles can be mixed together, and the +helper+ method can be invoked with a mix of ;TI"0+symbols+, +strings+, +modules+ and blocks.;T@o;;	[I":helper(:three, BlindHelper) { def mice() 'mice' end };T;0:
@fileI"'lib/abstract_controller/helpers.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*args, &block);T@EFI"ClassMethods;FcRDoc::NormalModule0