Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

hanachin
Copy link
Contributor

No description provided.

end

def inspect_(obj)
obj.inspect
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some classes override inspect method (Array, String, etc...) which is more readable than Object#inspect.

@soutaro soutaro merged commit 2b5790e into ruby:master Oct 27, 2019
@hanachin hanachin deleted the improve_inspect branch December 29, 2019 15:56
soutaro pushed a commit that referenced this pull request May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.