Skip to content

Conversation

@werebus
Copy link

@werebus werebus commented Dec 23, 2025

I'm not sure whether this project is currently being maintained, but I have a few improvements I'd like to offer. I figured I'd start with this one since it's a one-line change.

In Ruby 2.4, Fixnum and Bignum were unified into Integer and the "bigness" of that integer became an internal implementation detail. Because the koans support some pretty old rubies, we can't make a universal assertion about the class of Object.new.object_id, but whatever the class, it always is_a? Integer.

In Ruby 2.4, `Fixnum` and `Bignum` were unified into `Integer` and the
"bigness" of that integer became an internal implementation detail.
Because the koans support some pretty old rubies, we can't make a
universal assertion about the class of `Object.new.object_id`, but it
always `is_a? Integer`.
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.

1 participant