Archive for March 5th, 2008
Windows – Vista
New Line character is \r\n .It basically means return the line and start a new line.
Read Full Post | Make a Comment ( None so far )Difference Between
difference between kind_of? and instance_of?
kind_of? –> check if one object is a kind of another object
instance_of? –> checks if one object is formed by the new of the class name…
for eg
module M end
class A
include M
end
class B < A; end
class C < B; end
b = B.new
b.kind_of? B #=> true
b.kind_of? A #=> true
b.kind_of? M #=> true
b.kind_of? C [...]