We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[1] pry(main)> Phoner::Phone.parse('+1-309-456-7890'.freeze) FrozenError: can't modify frozen String: "+1-309-456-7890" from /bundler/ruby/2.7.0/gems/phone-1.2.3/lib/phone.rb:170:in `sub!'
This is on version 1.2.0.
parse() could probably call string.dup to create its own internal mutable copy of the input.
parse()
string.dup
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is on version 1.2.0.
parse()
could probably callstring.dup
to create its own internal mutable copy of the input.The text was updated successfully, but these errors were encountered: