Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To Curly Braces leaves the closing brace on the 2nd line #20

Open
lacostenycoder opened this issue Aug 13, 2019 · 2 comments
Open

To Curly Braces leaves the closing brace on the 2nd line #20

lacostenycoder opened this issue Aug 13, 2019 · 2 comments
Labels

Comments

@lacostenycoder
Copy link

Before

['a', 'b'].each do |foo|
  puts foo
end

When running to Curly default ends up like this

['a', 'b'].each { |foo| puts foo
}
@dsandstrom dsandstrom added the bug label Sep 14, 2020
@dsandstrom
Copy link
Owner

Thanks for the bug report

@dsandstrom
Copy link
Owner

dsandstrom commented Sep 14, 2020

Kind of a work around for now:

Go up a line, convert to do-end, then to curly.

['a', 'b'].each do |foo| puts foo
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants