We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Provide at least:
a = :something a.encoding # #<Encoding:US-ASCII> def something; end a.encoding # should be #<Encoding:US-ASCII>
a = :something a.encoding # #<Encoding:US-ASCII> def something; end a.encoding # it is now #<Encoding:ASCII-8BIT>
The text was updated successfully, but these errors were encountered:
Can I also add some comments about reproducing @fevin86 bug you need to evaluate the return of def, eg puts it
a = :something a.encoding # #<Encoding:US-ASCII> puts def something; end a.encoding # should be #<Encoding:US-ASCII>
the example he posted works if you paste it into irb, because irb evals return value of each line
Sorry, something went wrong.
Should be the same issue as #4564 (fixed in 01cd84d).
@MSNexploder you are right. Will close this
No branches or pull requests
Environment
Provide at least:
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: