2014-09-24から1日間の記事一覧
概要 Object#instance_of?(klass) -> bool 詳細 オブジェクトがクラス klass の直接のインスタンスである時真を返却。 サンプルコード require 'tbpgr_utils' class Parent end class Child < Parent end parent = Parent.new child = Child.new bulk_puts_e…
概要 Object#instance_of?(klass) -> bool 詳細 オブジェクトがクラス klass の直接のインスタンスである時真を返却。 サンプルコード require 'tbpgr_utils' class Parent end class Child < Parent end parent = Parent.new child = Child.new bulk_puts_e…