From: nobu@... Date: 2018-09-24T23:18:20+00:00 Subject: [ruby-core:89145] [Ruby trunk Feature#15112] Introdudce the new singleton method STDERR.p Issue #15112 has been updated by nobu (Nobuyoshi Nakada). Any object which has `#write` method can be assigned to `$stderr`, so we should not expect `$stderr` to have `p`, I think. ---------------------------------------- Feature #15112: Introdudce the new singleton method STDERR.p https://bugs.ruby-lang.org/issues/15112#change-74179 * 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: