[ruby-core:62835] [ruby-trunk - Bug #9877] [Open] IRB::OutputMethod defines "pp", but it's actually "p"

From: ghazel@...
Date: 2014-05-29 05:45:58 UTC
List: ruby-core #62835
Issue #9877 has been reported by Greg Hazel.

----------------------------------------
Bug #9877: IRB::OutputMethod defines "pp", but it's actually "p"
https://bugs.ruby-lang.org/issues/9877

* Author: Greg Hazel
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: ruby 2.0.0p451
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
IRB::OutputMethod#pp is actually more like Kernel#p than PrettyPrint#pp. There doesn't seem to be a good reason for the misleading name, and use of OutputMethod requires all the Kernel print methods. (Predicated on #9876 being fixed, of course)



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next