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

Small amendments for Hash#merge with IndifferentAccess #525

Merged
merged 1 commit into from Jun 10, 2020

Commits on Jun 10, 2020

  1. Small amendments for Hash#merge with IndifferentAccess

    1. Use `indifferent_writer` in `convert!` so that when
    `indifferent_writer`, `convert_key` or `indifferent_value` is
    overridden in included class, `merge` can use those.
    
    2. `convert!` was calling twice if `other` hash was lacking
    indifference. `IndifferentAccess.inject!` already does conversion.
    yogeshjain999 committed Jun 10, 2020
    Copy the full SHA
    b206fb8 View commit details
    Browse the repository at this point in the history