From: Glenn Jackman Date: 2009-07-10T20:40:17+09:00 Subject: OT explanation please (Re: a inherent class, how to write?) At 2009-07-09 10:01PM, "Zhenning Guan" wrote: > I have a file like this; > > class File > class << self > def diff > #some stuff-------------- > end > end > end How is that different from class File def diff #some stuff-------------- end end ? Still learning... -- Glenn Jackman Write a wise saying and your name will live forever. -- Anonymous