Flowdock
method

methods

Importance_1
Ruby latest stable (v1_9_3_125) - 0 notes - Class: Object

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

These similar methods exist in v1_9_3_125:

methods(p1) public

Returns a list of the names of methods publicly accessible in obj. This will include all the methods accessible in obj’s ancestors.

class Klass
  def kMethod()
  end
end
k = Klass.new
k.methods[0..9]    #=> ["kMethod", "freeze", "nil?", "is_a?", 
                   #    "class", "instance_variable_set",
                   #    "methods", "extend", "__send__", "instance_eval"]
k.methods.length   #=> 42
Show source
Register or log in to add new notes.