From: Russell Fulton Date: 2007-02-26T07:36:36+09:00 Subject: Re: writing 'plugins' A bit more data: > My first attempt was to add a 'test' method to the > class which took the same parameters as initialize but just checked > them. Whenever I invoked Action::Nagios.test I got errors about not > being able to access private method 'test'. actual error is: private method `test' called for Action::Email:Class when invoked by: begin eval "test = Action::#{tok}.test(#{parms})" # known class ? rescue SyntaxError, StandardError =>e error( "bad paramers or unknown action #{tok}: #{e}") rest_of_line @errors = true end -- Posted via http://www.ruby-forum.com/.