Variable: ruby-indent-beg-re
ruby-indent-beg-re is a variable defined in ruby-mode.el.gz.
Value
"^\\(\\s *\\(?:class\\|def\\|module\\)\\|\\(?:begin\\|case\\|for\\|if\\|un\\(?:less\\|til\\)\\|while\\)\\)\\_>"
Documentation
Regexp to match where the indentation gets deeper.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ruby-mode.el.gz
(defconst ruby-indent-beg-re
(concat "^\\(\\s *" (regexp-opt '("class" "module" "def")) "\\|"
(regexp-opt '("if" "unless" "case" "while" "until" "for" "begin"))
"\\)\\_>")
"Regexp to match where the indentation gets deeper.")