diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-30 02:48:49 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-30 02:48:49 +0000 |
commit | 479fa407780ca01ce04dce1ef21342da4e148215 (patch) | |
tree | 4126f7ec9b14dd47e8c22a7ca680a9fcc631e0db /spec | |
parent | 478c3e080b0d2782ae630f87c22d1a8e36756778 (diff) | |
download | ruby-479fa407780ca01ce04dce1ef21342da4e148215.tar.gz |
* string.c (rb_str_sub_bang): String#sub! now raises an error when
called on a frozen string, even if no change is made.
See [ruby-core:23657]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions