Last active
October 26, 2018 22:33
-
-
Save smcabrera/05e369711d8ca199be63255137c2e22d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
"some string".gsub!("some", "different") | |
# Traceback (most recent call last): | |
# 1: from string.rb:3:in `<main>' | |
# string.rb:3:in `gsub!': can't modify frozen String (FrozenError) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment