Ruby, String, Range Regexp, ===, case-equal, triple equals threequals. - , - , . , true, "" " " . , , ( ).
String === "zen" # Output: => true
Range === (1..2) # Output: => true
Array === [1,2,3] # Output: => true
Integer === 2 # Output: => true
, , , . , , , .
2.is_a? Integer
2.kind_of? Integer
2.instance_of? Integer
, false, , 2, Fixnum, Integer. ===, is_a? instance_of? true, . instance_of true, , .
is_a? kind_of? Kernel, Object. . :
Kernel.instance_method (: kind_of?) == Kernel.instance_method (: is_a?) # : = > true
ruby.