Project

General

Profile

Bug #3718

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

Added by candlerb (Brian Candler) almost 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
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

Also available in: Atom PDF