Description
Formats Ruby objects for easier reading during debugging, console sessions, and development logs. It is useful when developers need nested hashes, arrays, and objects shown in a clearer terminal-friendly style.
Pretty printing can expose private values if used on full objects. Avoid dumping credentials, tokens, or user records into logs or shared terminals.