From: Yukihiro Matsumoto Date: 2009-06-05T16:42:57+09:00 Subject: [ruby-core:23714] Re: [Bug #1550] String#lstrip! raises RuntimeError on Frozen String Despite Making No Changes Hi, In message "Re: [ruby-core:23707] Re: [Bug #1550] String#lstrip! raises RuntimeError on Frozen String Despite Making No Changes" on Fri, 5 Jun 2009 04:26:11 +0900, Run Paint Run Run writes: |Could you confirm that we can generalise this decision to all of the |core classes? i.e. calling a method on a frozen object that could |modify the receiver should always raise a RuntimeError. Specifically, |I'm interested in Array and Hash. | |If your answer is in the affirmative, shall I start filing bug reports |for the non-compliant methods, or would you prefer that they just be |posted here? Affirmative. File the report per class. matz.