view · edit · sidebar · attach · print · history

Ruby Object explained

<< NativeThread | Index | Proc >>

 Every class has Object — and therefore Kernel and BasicObject — among its ancestors.
 Of course, there’s still the paradox that BasicObject is an Object, and Object is
 a Class, and Class is an Object. But as you saw earlier, a bit of circularity in the class
 model serves to jump-start the hierarchy; and once set in motion, it operates logically
 and cleanly.

from

 http://www.manning.com/black2/SampleChapter4.pdf
view · edit · sidebar · attach · print · history
Page last modified on April 08, 2011, at 03:54 PM