ruby-defun-beg-re

ruby-defun-beg-re is a variable defined in `ruby-mode.el'.
Its value is
"\\(def\\|class\\|module\\)"

  • This variable may be risky if used as a file-local variable.

Documentation:
Regexp to match the beginning of a defun, in the general sense.