Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stringify when a non-object is passed to PP#text #165

Commits on Jan 5, 2021

  1. Stringify when a non-object is passed to PP#text

    If a nested object is passed to #pp, it may be sometimes passed to the #text
    method as an object without being stringified.
    
    This is fixed on the Ruby main repository;
    ruby/ruby@433a3be
    but it was a bug of Ripper so still needs this workaround for using irb
    as a gem on Ruby 3.0.0 or earlier.
    
    Co-authored-by: k0kubun <[email protected]>
    aycabta and k0kubun committed Jan 5, 2021
    Configuration menu
    Copy the full SHA
    8d13df2 View commit details
    Browse the repository at this point in the history