From: matz@... (Yukihiro Matsumoto)
Date: 2000-05-12T13:38:49+09:00
Subject: [ruby-talk:02773] Re: More code browsing questions
Hi,
In message "[ruby-talk:02772] Re: More code browsing questions"
on 00/05/11, Albert Wagner writes:
|Thanks again, Dave. I understand your example, but not the following
|code from ext/tk/lib/tkafter.rb:
|:
|require 'tk'
|
|class TkAfter
| include TkCore
| extend TkCore
'include' adds features (methods) to instances of the class TkAfter.
'extend' add features to class TkAfter itself.
|(Am I hopelessly ignorant?)
No. It's kinda complex. Ruby is simple in appearance, but is very
complex inside, just like our human body.
matz.