[ruby-talk:00367] Re: type-checking

From: "Michael Neumann" <neumann@...>
Date: 1999-06-01 09:33:26 UTC
List: ruby-talk #367
> >Minero Aoki has written some extension to the classes Object and Module
(Parser Generator RACC), which implement "type-checking". For example you
can define properties (instance variables - like attr) where the
setter-method checks the type of the argument.
>
> Do you mean the `must' method in racc-0.8.11/must.rb?

Not only must.rb but also extmod.rb in racc-0.8.11 which extends the class
Module for "abstract", "property" and "delegate_method".

Michael

In This Thread