Feature #209

String#==で、$=廃止後の対応策を追記する

Added by yhara (Yutaka HARA) almost 4 years ago. Updated about 1 year ago.

[ruby-reference-manual:1013]
Status:Closed Start date:07/01/2008
Priority:Low Due date:
Assignee:okkez (okkez _) % Done:

100%

Category:doc
Target version:-
reporter:matsue ruby_version:

Description

変数 $= の値が真であるときはアルファベットの大文字小文字を無視して比較します。
 ただし $= 変数はいずれ廃止されることが決まっているので $= に頼るべきではありません。
とあるので、$=を使わない方法が紹介されていると良いだろう。

x.upcase == y.upcase とかでいいのかな。

Associated revisions

Revision 2899
Added by okkez almost 4 years ago

fixed #209

History

Updated by okkez (okkez _) almost 4 years ago

  • Status changed from Open to Assigned
  • Assignee set to okkez (okkez _)

Updated by okkez (okkez _) almost 4 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
Applied in changeset r2899.

Also available in: Atom PDF