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`.
Copy link

@kotp kotp left a comment

Choose a reason for hiding this comment

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

I do not have any meaningful "approval" powers, but I like the change.

@tonywok
Copy link
Member

tonywok commented Jan 10, 2026

Thanks for the contribution and sorry so slow to respond!

@tonywok tonywok merged commit fb05c50 into edgecase:master Jan 10, 2026
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