private Method

DefaultDisplay.display_params(method)

There's no documentation for this item.

Source Code

# File rdoc/ri/ri_display.rb, line 223
def display_params(method)

  params = method.params

  if params[0,1] == "("
    if method.is_singleton
      params = method.full_name + params
    else
      params = method.name + params
    end
  end
  params.split(/\n/).each do |p|
    @formatter.wrap(p) 
    @formatter.break_to_newline
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.