2014-11-09から1日間の記事一覧
概要 Range#eql?(other) -> bool 詳細 以下の条件を満たせば真を返却 ・ 指定された other が Range クラスのインスタンス ・ 始点と終点が eql? メソッドで比較して等しい ・ Range#exclude_end? が同じ サンプルコード require 'tbpgr_utils' bulk_puts_ev…
概要 Range#eql?(other) -> bool 詳細 以下の条件を満たせば真を返却 ・ 指定された other が Range クラスのインスタンス ・ 始点と終点が eql? メソッドで比較して等しい ・ Range#exclude_end? が同じ サンプルコード require 'tbpgr_utils' bulk_puts_ev…