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

RUBY-2846 use BSON _bson_to_i method if it exists #5473

Merged
merged 3 commits into from
Sep 23, 2022

Conversation

Neilshweky
Copy link
Contributor

No description provided.

@Neilshweky Neilshweky changed the title RUBY-2896 use BSON _bson_to_i method if it exists RUBY-2846 use BSON _bson_to_i method if it exists Sep 22, 2022
def _bson_to_i
return super if defined?(super)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, didn't realize defined?(super) is a thing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

me neither!

@Neilshweky Neilshweky merged commit 784bd9a into mongodb:master Sep 23, 2022
comandeo pushed a commit to comandeo/mongoid that referenced this pull request Sep 28, 2022
* RUBY-2896 use BSON _bson_to_i method if it exists

* RUBY-2846 change bson_master gemfile to test changes

* Update gemfiles/bson_master.gemfile
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