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

In 1.9 Kernel#puts should output a newline when given nil as the only argument. #1263

Merged
merged 3 commits into from
Oct 16, 2011

Conversation

AndrewVos
Copy link
Contributor

No description provided.

…en nil as

a parameter.

For example Kernel.puts(nil, nil) will output two blank lines instead of
nil\nnil\n like in ruby 1.8.
@AndrewVos
Copy link
Contributor Author

Ok I've updated the code to act the same as in Ruby 1.9

dbussink added a commit that referenced this pull request Oct 16, 2011
In 1.9 Kernel#puts should output a newline when given nil as the only argument.
@dbussink dbussink merged commit d9497b0 into rubinius:master Oct 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants