ruby-indent-beg-re

ruby-indent-beg-re is a variable defined in `ruby-mode.el'.
Its value is

"^\\(\\s *\\(?:class\\|def\\|module\\)\\|\\(?:begin\\|case\\|for\\|if\\|un\\(?:less\\|til\\)\\|while\\)\\)\\_>"

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

Documentation:
Regexp to match where the indentation gets deeper.