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

Handle non-String $LOAD_PATH values more carefully #400

Merged
merged 1 commit into from
Sep 21, 2022

Commits on Sep 20, 2022

  1. Handle non-String $LOAD_PATH values more carefully

    In addition to String values, $LOAD_PATH can also take objects that
    respond_to the `to_path` method, like Pathname objects. So `irb` should
    be able to handle those objects too.
    
    And if $LOAD_PATH contains objects that can't be converted into String,
    `irb` should simply ignore it.
    st0012 committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    b2f5621 View commit details
    Browse the repository at this point in the history