ruby-indent-level

ruby-indent-level is a variable defined in `ruby-mode.el'.
Its value is
2

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

Documentation:
Indentation of Ruby statements.

You can customize this variable.