ruby-align-to-stmt-keywords

ruby-align-to-stmt-keywords is a variable defined in `ruby-mode.el'.
Its value is
(def)

  • This variable is safe as a file local variable if its value
    satisfies the predicate `listp'.

Documentation:
Keywords after which we align the expression body to statement.

When nil, an expression that begins with one these keywords is
indented to the column of the keyword. Example:

tee = if foo
bar
else
qux
end

If this value is t or contains a symbol with the name of given
keyword, the expression is indented to align to the beginning of
the statement:

tee = if foo
bar
else
qux
end

Only has effect when `ruby-use-smie' is t.


You can customize this variable.

This variable was introduced, or its default value was changed, in version 24.4 of Emacs.