Project

General

Profile

Actions

Bug #3718

closed

[doc] ri doesn't document Object#<=>

Added by candlerb (Brian Candler) about 14 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
Backport:
[ruby-core:31770]

Description

=begin
1.9.2 apparently implements Object#<=> (or Kernel#<=> ?)

$ irb192 --simple-prompt

Object.new <=> Object.new
=> nil

But ri doesn't seem to know about it:

$ ri192 '<=>'
Nothing known about <=>
$ ri192 'Object#<=>'
Nothing known about Object#<=>
$ ri192 'Kernel#<=>'
Nothing known about Kernel#<=>

(However, I note that ri192 'String#<=>' does work as expected)
=end

Actions #1

Updated by naruse (Yui NARUSE) about 14 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r29060.
Brian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0