Tbpgr Blog

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

2014-07-06から1日間の記事一覧

Ruby | Module | >

概要 Module#> other -> bool | nil 詳細 比較演算子。self が other の先祖である場合、 true を返却 self が other の子孫か同一のクラス/モジュールの場合、 false を返却 継承関係にないクラス同士の比較では nil を返却 サンプルコード require 'tbpgr…