ruby-block-beg-re

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

"\\(?:begin\\|c\\(?:ase\\|lass\\)\\|d\\(?:ef\\|o\\)\\|for\\|if\\|module\\|un\\(?:less\\|til\\)\\|while\\)"

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

Documentation:
Regexp to match the beginning of blocks.