Project

General

Profile

Actions

Feature #6260

closed

Relationship of collating sequence to === and <=> for Strings not documented

Added by perry (Perry Metzger) almost 12 years ago. Updated over 11 years ago.

Status:
Rejected
Target version:
-
[ruby-core:44139]

Description

Collating sequences are mentioned in the documentation for the class String only in reference to the "succ" method, and only in passing. It appears that Ruby also pays attention to collating sequences in range membership testing, possibly even elsewhere. It would be very nice if the precise behavior was documented.

Also, given that at least "succ" knows about collating sequences, it would be nice if the documentation explained how collating sequences are derived. Is language specific ordering in use? If so, where is the language determined? Does it in any way involve the language specified in the LANG environment variable or does it come from somewhere else? None of this is explained in the documentation.

Actions #1

Updated by mame (Yusuke Endoh) almost 12 years ago

  • Tracker changed from Bug to Feature
  • Status changed from Open to Feedback
  • Assignee set to akr (Akira Tanaka)

Hello,

Could you (or anyone) please make a draft in rdoc style?
Akr, could you please review the draft?

--
Yusuke Endoh

Actions #2

Updated by mame (Yusuke Endoh) over 11 years ago

  • Status changed from Feedback to Rejected

No feedback, closing. I'm sorry.

--
Yusuke Endoh

Actions

Also available in: Atom PDF

Like0
Like0Like0