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

Including MethodAccessWithOverride in Hashie::Mash breaks dup method #576

Open
babelfish opened this issue Aug 31, 2023 · 0 comments
Open
Labels

Comments

@babelfish
Copy link

[1] pry(main)> require "hashie"
=> true
[2] pry(main)> class BadMash < Hashie::Mash; include Hashie::Extensions::MethodAccessWithOverride; end
=> BadMash
[3] pry(main)> BadMash.new.dup
ArgumentError: wrong number of arguments (given 2, expected 0..1)
from /home/bsmith/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/hashie-5.0.0/lib/hashie/extensions/method_access.rb:258:in `initialize'
@dblock dblock added the bug? label Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants