Skip to content

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