method find_method
1 | role Metamodel::MROBasedMethodDispatch |
1.1 | (Metamodel::MROBasedMethodDispatch) method find_method |
Documentation for method find_method
assembled from the following types:
role Metamodel::MROBasedMethodDispatch
From Metamodel::MROBasedMethodDispatch
(Metamodel::MROBasedMethodDispatch) method find_method
method find_method(, , , *)
Given a method name, it returns the method object of that name which is closest in the method resolution order (MRO). If no method can be found, it returns a VM-specific sentinel value (typically a low-level NULL value) that can be tested for with a test for definedness:
for <upper-case uc># OUTPUT:# method `upper-case` not found# FOO
If :no_fallback
is supplied, fallback methods are not considered.