Hello Group,

I need more help.

Gavin Sinclair wrote:
> 
> p51. Good exercise.  How about another?
> 

Anybody has an idea for an exercise on extending existing classes. So 
far the only thing I have come up with is:

\exercise{Fibonacci II}{
   Extend \codetype{Integer} with a function fib that calculates the
   corresponding fibonacci number.}

And my creativity is at an all time low.

> p52. It would be good to teach extending objects, because it's core to
>      Ruby, and important when understanding "class methods".  But you
>      can emphasise that it's advanced material, so students needn't be
>      worried if they don't get it straight away.  (It's not *that*
>      hard to accept, anyway... :)
> 

Anybody nows of a good example where it is neccessary to extend an 
existing object?
I have never used this feature and I don't know when to use it in a 
sensible way.

> p55. Missing exercises.

Somebody has an idea for an exercise on using modules (as namespace and 
mixin?)

A big thanks so far to all the people who have reviewed the slides!

regards,

Brian
-- 
Brian Schröäer
http://ruby.brian-schroeder.de/