[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:01854] Re: Minor irritation, can't figure out how to patch it though!

From: matz@... (Yukihiro Matsumoto)
Date: 2000-03-15 17:55:16 UTC
List: ruby-talk #1854
Hi,

In message "[ruby-talk:01847] Re: Minor irritation, can't figure out how to patch it though!"
    on 00/03/15, Dave Thomas <Dave@thomases.com> writes:

|You could write it as a library module which you include:
|
|     module British
|       def initialize(*a)
|         initialise(*a)
|       end
|     end
|
|     class Fred
|       include British
|
|       def initialise(str)
|         printf "Initializing #{str}\n"
|         @str = str
|       end
|     end
|
|     f = Fred.new("Hello")

Hmm, this one and the one in [ruby-talk:01846] are almost identical to
my responses respectively.  I guess I've got my alterego in the states. ;-)

							matz.

In This Thread