From: muraken@... Date: 2016-03-13T09:50:28+00:00 Subject: [ruby-core:74287] [Ruby trunk Feature#12161][Assigned] Friendly BigDecimal#inspect Issue #12161 has been updated by Kenta Murata. Status changed from Open to Assigned Assignee set to Kenta Murata ---------------------------------------- Feature #12161: Friendly BigDecimal#inspect https://bugs.ruby-lang.org/issues/12161#change-57409 * Author: Max Melentiev * Status: Assigned * Priority: Normal * Assignee: Kenta Murata ---------------------------------------- Can BigDecimal's #inspect be more human-friendly? Even just `#` instead of `#` will be much easy to read. But I think the best option is `1234.5678(#)` or something alike, which focuses on its numeric nature. I've never used bigdecimal's address and number of significant digits. Maybe if this is rarely used information it can be avoided in #inspect at all. With such formatting It'll be easier to recognise values in repl, debugger, and especially in test's output/failures. -- https://bugs.ruby-lang.org/ Unsubscribe: