-
Notifications
You must be signed in to change notification settings - Fork 200
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
Add support for __END__
in rbs files
#1646
Comments
Oh no, you want class Foo
end
__END__
class Foo # Comment
end Technically, it's possible. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(This was originally a discussion, #1610. I think it's more apt as an issue, so it's been moved here).
One thing I really like about Ruby is the fact that you can type
\n__END__\n
and it'll comment out the rest of the file. I use it very extensively, from testing quick snippets, to commenting out code i'm replacing, to finding where the missingend
originated from.I'd really like if we could support
\n__END__\n
in RBS. It'd act just like Ruby's (except for noDATA
) and would "comment out" the rest of the file.The text was updated successfully, but these errors were encountered: