aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/plugin_test_helper.rb
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2018-02-17 15:23:17 -0800
committerJeremy Daer <jeremydaer@gmail.com>2018-02-17 23:02:19 -0800
commit8454aeeb2b8e7d1255acbaaec4e0ae3c97d55f49 (patch)
treec101ae2b29fbb8a01a97e4d5714a2e96dff43ee6 /railties/test/generators/plugin_test_helper.rb
parent690ce38cfe531ded6cfb282071e21d803297a6dc (diff)
downloadrails-8454aeeb2b8e7d1255acbaaec4e0ae3c97d55f49.tar.gz
rails-8454aeeb2b8e7d1255acbaaec4e0ae3c97d55f49.tar.bz2
rails-8454aeeb2b8e7d1255acbaaec4e0ae3c97d55f49.zip
`String#strip_heredoc` preserves frozenness
```ruby "foo".freeze.strip_heredoc.frozen? # => true ``` Fixes the case where frozen string literals would inadvertently become unfrozen: ```ruby foo = <<-MSG.strip_heredoc la la la MSG foo.frozen? # => false !?? ```
Diffstat (limited to 'railties/test/generators/plugin_test_helper.rb')
0 files changed, 0 insertions, 0 deletions