emacs/test/lisp/progmodes/ruby-mode-resources/ruby-after-operator-indent.rb

34 lines
332 B
Ruby

4 +
5 +
6 +
7
qux = 4 + 5 *
6 +
7
foo = obj.bar { |m| tee(m) } +
obj.qux { |m| hum(m) }
some_variable = abc + some_method(
some_argument
)
foo.
bar
.baz
qux = foo.fee ?
bar :
tee
# Endless methods.
class Bar
def foo(abc) = bar +
baz
end
# Local Variables:
# ruby-after-operator-indent: nil
# End: