Tbpgr Blog

Employee Experience Engineer tbpgr(てぃーびー) のブログ

2014-11-03から1日間の記事一覧

Ruby | Range | ==

概要 Range#== other -> bool 詳細 指定された other が Range クラスのインスタンスであり、 始点と終点が == メソッドで比較して等しく、 Range#exclude_end? が同じ場合に true を返却。 サンプルコード require 'tbpgr_utils' bulk_puts_eval binding, <…