[ruby-core:89349] [Ruby trunk Feature#15112] Introdudce the new singleton method STDERR.p

From: usa@...
Date: 2018-10-10 05:51:40 UTC
List: ruby-core #89349
Issue #15112 has been updated by usa (Usaku NAKAMURA).


I propose more generalized method on `IO` instead of `STDERR.p`.
My proposal is `IO#putp`.


----------------------------------------
Feature #15112: Introdudce the new singleton method STDERR.p
https://bugs.ruby-lang.org/issues/15112#change-74378

* Author: mrkn (Kenta Murata)
* Status: Open
* Priority: Normal
* Assignee: matz (Yukihiro Matsumoto)
* Target version: 
----------------------------------------
I sometimes write `STDERR.puts obj.inspect` to print debug message to standard error.
I want to write it as `STDERR.p obj`.
It can be realized by introducing `p` singleton method in `STDERR` object.



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

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next