This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_1_378) is shown here.
display_params(method)
public
Display the params for method.
# File lib/rdoc/ri/display.rb, line 306
def display_params(method)
params = method.params
if params[0,1] == "(" then
if method.is_singleton
params = method.full_name + params
else
params = method.name + params
end
end
params.split(/\n/).each do |param|
@formatter.wrap param
@formatter.break_to_newline
end
@formatter.blankline
@formatter.wrap("From #{method.source_path}")
end