Bug #3389

[Docs]: Kernel.test Specifies Incorrect Return Type for ?W

Added by Run Paint Run Run about 5 years ago. Updated over 4 years ago.

[ruby-core:30587]
Status:Closed
Priority:Normal
Assignee:-
ruby -v:ruby 1.9.3dev (2010-06-01 trunk 28120) [i686-linux] Backport:

Description

=begin
The rdoc claims test(?W, file) returns a Boolean result; in fact, it returns an Integer or nil. Patch attached.
=end

test-W.patch Magnifier (776 Bytes) Run Paint Run Run, 06/05/2010 12:34 AM

History

#1 Updated by Nobuyoshi Nakada about 5 years ago

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

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

=end

Also available in: Atom PDF