instance_of? は厳密でinstanceのクラスをチェック
kind_of? はinstanceのクラスと親クラス両方チェック
a = 1
a.instance_of? Numeric » false
a.instance_of? Integer » false
a.instance_of? Fixnum » true
a.instance_of? Comparable » false
a.kind_of? Numeric » true
a.kind_of? Integer » true
a.kind_of? Fixnum » true
a.kind_of? Comparable » true