I do not want an answer about something like Imenu or tags - features that suppose you know some keywords about the method/function name to move to.
What I want is just general commands which jump forward to next or jumps backward to previous method, e.g. in ruby-mode or emacs-lisp-mode.