rufo
rufo copied to clipboard
Heredocs in blocks result in invalid code
With rufo 0.18.0 the following code:
def foo
puts yield
end
foo do <<-EOS
Random text
EOS
end
is formatted to:
def foo
puts yield
end
foo do <<-EOS
Random text
EOS end
which is no longer valid ruby code.