We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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 MRI the following is true, but it is false under JRuby:
true
false
Numeric.kind_of?(BasicObject.singleton_class)
I originally came across this difference when doing the following refactoring:
- object.respond_to?(:ancestors) && - object.ancestors.include?(primitive) + object.kind_of?(primitive.singleton_class)
The text was updated successfully, but these errors were encountered:
Refactor primitive matching to use simpler equivalent statement
c8a2f0b
This is fixed in JRuby 9000.pre2 but still present in 1.7.20.
Sorry, something went wrong.
This works in 9k and we will never fix this in 1.7.x as it is winding down....resolving.
No branches or pull requests
In MRI the following is
true
, but it isfalse
under JRuby:I originally came across this difference when doing the following refactoring:
The text was updated successfully, but these errors were encountered: