-
Notifications
You must be signed in to change notification settings - Fork 657
Ruby 2.3 magic comments support #302
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
Conversation
I haven't heard of this. Where can I find more info on this? |
nithinbekal.com/posts/ruby-2-3-features/ |
Also I tried the current version with |
'# -*- encoding : utf-8 -*-', | ||
"# encoding: utf-8\n# frozen_string_literal: true", | ||
"# frozen_string_literal: true\n# encoding: utf-8", | ||
'# frozen_string_literal: true', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am I reading this correctly? These seem to be repeated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think any are duplicated
This seems like an optional feature since some people may not want to turn it on. I think we have an option to append additional text so that may be a better option. Can you enlighten me? |
If you have the |
Thanks |
My attempt to support Ruby 2.3 magic comments