Module MethodSig
In: lib/methodsig.rb

Methods

Classes and Modules

Class MethodSig::Argument
Class MethodSig::Origin
Class MethodSig::Signature

Public Instance methods

Return the names of the arguments this method takes, in the order in which they appear in the argument list.

Return a hash mapping each argument name to a description of that argument.

If this method has a "block" argument, that is, it has an argument that is preceded by an ampersand (&) in the argument list, then return its index, otherwise return nil.

Return a Method::Origin representing where the method was defined.

If this method has a "rest" argument, that is, it has an argument that is preceded by an asterisk (*) in the argument list, then return its index, otherwise return nil.

[Validate]