Project

General

Profile

Bug #9877

IRB::OutputMethod defines "pp", but it's actually "p"

Added by ghazel (Greg Hazel) almost 7 years ago. Updated 4 days ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p451
[ruby-core:62835]

Description

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)

Updated by nagachika (Tomoyuki Chikanaga) over 6 years ago

  • Category set to lib
  • Status changed from Open to Assigned
  • Assignee set to keiju (Keiju Ishitsuka)

Updated by jeremyevans0 (Jeremy Evans) 4 days ago

  • Assignee deleted (keiju (Keiju Ishitsuka))
  • Status changed from Assigned to Rejected

This definitely isn't a bug, and I don't think it's worth breaking backwards compatibility for this consistency, so I'm going to reject this. If you would still like the change made, please submit a pull request to https://github.com/ruby/irb and aycabta (aycabta .) can determine if he thinks it is worth changing.

Also available in: Atom PDF