Project

General

Profile

Actions

Bug #9877

closed

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

Added by ghazel (Greg Hazel) almost 10 years ago. Updated about 3 years ago.

Status:
Rejected
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 9 years ago

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

Updated by jeremyevans0 (Jeremy Evans) about 3 years ago

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

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0