pub(crate) fn get_method_or_nomethod(
        self,
        globals: &mut Globals,
        method_id: IdentId,
    ) -> Result<FnId, RubyError> {
        match globals.methods.find_method(self, method_id) {
            Some(m) => Ok(m),
            None => Err(VMError::undefined_method_for_class(method_id, self)),
        }
    }
Get MethodId from `method_id` for `self`.

If the method was not found, return NoMethodError.
ruruby/src/value/class.rs