Skip to content

Remove the last code for Ruby 1.8 - #357

Merged
trans merged 1 commit into
mainfrom
chore/remove-ruby-1.8-code
Nov 29, 2026
Merged

trans merged 1 commit into
mainfrom
chore/remove-ruby-1.8-code

Conversation

@trans

@trans trans commented Nov 29, 2026

Copy link
Copy Markdown
Member

Three places still had a branch for Ruby before 1.9, which never runs on a supported Ruby:

  • String#edit_distance: a whole second definition, using $KCODE. Removed, and the remaining one's documentation no longer mentions $KCODE.
  • Kernel#object_hexid: the 1.8 format template.
  • Kernel#hierarchical_send: a to_s on the method name.

Nothing changes in behaviour. The whole suite passes (1648 tests; the 4 pending were pending before).

This finishes the "remove Ruby 1.8 compat code" item from #304.

🤖 Generated with Claude Code

In String#edit_distance, Kernel#object_hexid and
Kernel#hierarchical_send. Nothing changes on a supported Ruby.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@trans
trans merged commit 245a378 into main Nov 29, 2026
16 checks passed
@trans
trans deleted the chore/remove-ruby-1.8-code branch November 29, 2026 15:39
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