From: nathaniel@... Date: 2003-01-10T11:01:40+09:00 Subject: Re: Adding hooks to TestUnit Dmitri Colebatch [mailto:dim@colebatch.com] wrote: > > module MyTestModule > > def setup > > @setup_called = true > > end > > def test_setup_called > > assert(@setup_called, "You need to call super in your setup") > > end > > end > > question from a ruby newbie.... I'm assuming there's no such > thing as declaring a method as final in ruby? if there > is/was then the obvious solution to me is to use the template pattern. Well, as far as I know there's (thankfully!) nothing like final in Ruby. But I guess I don't understand what you're getting at... what would final add, and what would you do with the template pattern? Nathaniel <:((>< + - - | RoleModel Software, Inc. | EQUIP VI