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

Allow return with multiple return values #528

Closed
chriseppstein opened this issue Sep 30, 2013 · 2 comments
Closed

Allow return with multiple return values #528

chriseppstein opened this issue Sep 30, 2013 · 2 comments
Assignees

Comments

@chriseppstein
Copy link

https://github.com/nex3/sass/blob/master/test/rubocop_extensions.rb

The RedundantReturn cop doesn't allow you to specify a return statement as the last line. But if the point is to return several values, I think return a, b, reads better than [a, b]

@bbatsov
Copy link
Collaborator

bbatsov commented Oct 1, 2013

I'm on it!

@ghost ghost assigned bbatsov Oct 1, 2013
@bbatsov bbatsov closed this as completed in 4fd5027 Oct 1, 2013
@aelor
Copy link

aelor commented Jun 22, 2017

+1

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

No branches or pull requests

3 participants