From: Kent Dahl Date: 2002-11-12T05:06:51+09:00 Subject: Re: More fun with modules Eric Schwartz wrote: > $ cat testharness.rb > module TestHarness Did you mean to write def TestHarness.AddHref(url, text) here and make a class method? Here you only make a method that would become part of a class that inclue the TestHarness module, not a method that is plainly available. > def AddHref(url, text) > "#{text}" > end > end -- (\[ Kent Dahl ]/)_ _~_ __[ http://www.stud.ntnu.no/~kentda/ ]___/~ ))\_student_/(( \__d L b__/ NTNU - graduate engineering - 5. year ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)