Flowdock
method

display_params

Importance_1
v1_8_7_330 - Show latest stable - 0 notes - Class: DefaultDisplay
display_params(method) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/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
Register or log in to add new notes.