30 lines
278 B
Ruby
30 lines
278 B
Ruby
![]() |
4 +
|
||
|
5 +
|
||
|
6 +
|
||
|
7
|
||
|
|
||
|
qux = 4 + 5 *
|
||
|
6 +
|
||
|
7
|
||
|
|
||
|
foo = obj.bar { |m| tee(m) } +
|
||
|
obj.qux { |m| hum(m) }
|
||
|
|
||
|
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:
|