Bug #9877
closed
IRB::OutputMethod defines "pp", but it's actually "p"
Added by ghazel (Greg Hazel) over 10 years ago.
Updated over 3 years ago.
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)
- Category set to lib
- Status changed from Open to Assigned
- Assignee set to keiju (Keiju Ishitsuka)
- 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.
Also available in: Atom
PDF
Like0
Like0Like0