Skip to content

Conversation

@berkes
Copy link

@berkes berkes commented May 1, 2018

I got a 'gsub!': can't modify frozen String (RuntimeError).

This fixes the issue for both older and newer Ruby.
It also actually prints the formatted string, otherwise the function is kinda useless 😃

berkes added 2 commits May 1, 2018 11:16
By dupping the ARGV, we avoid "frozen string" manipulation, wich causes
an error in newer Ruby versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant