Skip to content

Commit 5f56a7f

Browse files
BurdetteLamarpeterzhu2118
authored andcommitted
[DOC] Tweaks for String#ord
1 parent 8d1c459 commit 5f56a7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/string/ord.rdoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ Returns the integer ordinal of the first character of +self+:
44
'hello'.ord # => 104
55
'тест'.ord # => 1090
66
'こんにちは'.ord # => 12371
7+
8+
Related: see {Converting to Non-String}[rdoc-ref:String@Converting+to+Non--5CString].

0 commit comments

Comments
 (0)