Actions
Misc #12835
closedRDoc comment of String#casecmp
Misc #12835:
RDoc comment of String#casecmp
Status:
Closed
Assignee:
-
Actions
Added by dogatana (Toshihiko Ichida) almost 10 years ago. Updated over 9 years ago.
I created pull request for Japanese Reference Manual.
Note that String#casecmp can return nil:
The relevant lines in the source code (in string.c):
I tried to clarify this in the rdoc with r57886.
Closing since the rdoc matches the actual behavior. Additionally I opened a new issue because raising TypeError seems to be inconsistent with other comparison methods, see #13312.