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

Fixed json_create example to use create_additions = true #331

Merged
merged 1 commit into from
May 31, 2017

Conversation

perlun
Copy link
Contributor

@perlun perlun commented May 31, 2017

The example doesn't work OOTB, since this flag is not enabled by default.

(Even with this change in place, I cannot get additions to work with the Range class. For custom objects it works though, I tested with the example from the json_addition_test.rb - that's where I got the working approach.)

The example doesn't work OOTB, since this flag is _not enabled_ by default.

(Even with this change in place, I cannot get additions to work with the `Range` class. For custom objects it works though, I tested with the example from the `json_addition_test.rb` - that's where I got the working approach.)
@flori flori merged commit 950440a into ruby:master May 31, 2017
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.

2 participants