Skip to content

Prefer String#ord to String#codepoints[0]#1220

Merged
st0012 merged 1 commit intoruby:masterfrom
flavorjones:flavorjones-codepoint-range
Dec 2, 2024
Merged

Prefer String#ord to String#codepoints[0]#1220
st0012 merged 1 commit intoruby:masterfrom
flavorjones:flavorjones-codepoint-range

Conversation

@flavorjones
Copy link
Collaborator

As suggested by @nobu at #1219 (comment)

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
@flavorjones flavorjones changed the title Prefer String#ord to #codepoints[0] Prefer String#ord to String#codepoints[0] Dec 1, 2024
@st0012 st0012 merged commit 09d7f35 into ruby:master Dec 2, 2024
matzbot pushed a commit to ruby/ruby that referenced this pull request Dec 2, 2024
(ruby/rdoc#1220)

ruby/rdoc@09d7f35420

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
@flavorjones flavorjones deleted the flavorjones-codepoint-range branch December 3, 2024 14: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.

2 participants