mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
dcd4fe9fb0
Use self.begin/self.end instead of first/last to compute hash for ranges. The first/last methods raise RangeError for endless/beginless ranges, but the internal begin/end accessors return nil safely. Co-authored-by: Claude <noreply@anthropic.com>