[DOC] Tweaks for String#empty?

This commit is contained in:
Burdette Lamar 2025-07-23 16:06:44 -05:00 committed by GitHub
parent 78820e86c7
commit e3d36fff8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View file

@ -334,7 +334,7 @@
# _Counts_
#
# - #length (aliased as #size): Returns the count of characters (not bytes).
# - #empty?: Returns +true+ if +self.length+ is zero; +false+ otherwise.
# - #empty?: Returns whether the length of +self+ is zero.
# - #bytesize: Returns the count of bytes.
# - #count: Returns the count of substrings matching given strings.
#