Skip to content

Comments

🔍 Simplify Net::IMAP#inspect with basic state#612

Merged
nevans merged 1 commit intomasterfrom
simplified-inspect
Feb 13, 2026
Merged

🔍 Simplify Net::IMAP#inspect with basic state#612
nevans merged 1 commit intomasterfrom
simplified-inspect

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Feb 13, 2026

Most importantly, this no longer prints out every instance variable, some of which could contain sensitive data, and others are just very verbose.

Now Net::IMAP#inspect only prints the host:port, TLS state, and IMAP connection state. It will be extended to include more information in the future.

@nevans nevans added the enhancement New feature or request label Feb 13, 2026
Most importantly, this no longer prints out *every* instance variable,
some of which could contain sensitive data, and others are just _very_
verbose.

Now `Net::IMAP#inspect` only prints the host:port, TLS state, and IMAP
connection state.  It will be extended to include more in the future.
@nevans nevans force-pushed the simplified-inspect branch from 7924b25 to 2ae0bef Compare February 13, 2026 15:15
@nevans nevans merged commit 9a7858e into master Feb 13, 2026
39 checks passed
@nevans nevans deleted the simplified-inspect branch February 13, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant