Skip to content

Commit 55938a4

Browse files
BurdetteLamarpeterzhu2118
authored andcommitted
[DOC] Sort some methods in What's Here
1 parent d5368fc commit 55938a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/string.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@
194194
#
195195
# _Counts_
196196
#
197-
# - #length (aliased as #size): Returns the count of characters (not bytes).
198-
# - #empty?: Returns whether the length of +self+ is zero.
199197
# - #bytesize: Returns the count of bytes.
200198
# - #count: Returns the count of substrings matching given strings.
199+
# - #empty?: Returns whether the length of +self+ is zero.
200+
# - #length (aliased as #size): Returns the count of characters (not bytes).
201201
#
202202
# _Substrings_
203203
#

0 commit comments

Comments
 (0)