Bug #3389

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

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

ruby -v:ruby 1.9.3dev (2010-06-01 trunk 28120) [i686-linux] Backport:


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

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


#1 Updated by Nobuyoshi Nakada over 5 years ago

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

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.


Also available in: Atom PDF