From: Yukihiro Matsumoto Date: 2010-01-27T18:29:09+09:00 Subject: [ruby-dev:40179] Re: [Bug #2658] rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR まつもと ゆきひろです In message "Re: [ruby-dev:40164] Re: [Bug #2658] rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR" on Tue, 26 Jan 2010 22:41:55 +0900, Yusuke ENDOH writes: |> override されてる to_s は各クラスに特化したわかりやすい to_s だろうから |> inspect としてはそっちを使うっていう話なんじゃないですか。 |確かに。そういうことなら、rdoc の間違いですかね。 あー、そういうことか。間違ってるのはRDocの方ですね。 |挙動は現状のままにするとして、 | |1. この挙動は 1.9.2 からの仕様変更 (1.9.1 はそのまま) |2. この挙動は 1.9 からの仕様変更 (1.9.1 にもバックポートする) |3. この挙動は 1.8/1.9 の仕様 (1.8.x にもバックポートする) | |のどれとすべきでしょうか。rubyspec の修正依頼の内容に影響します。 1または2でしょうね。どちらにするかはYuguiさんにお任せします。