From: Logan Capaldo Date: 2006-10-03T23:14:06+09:00 Subject: Re: How to Call a static method? On Tue, Oct 03, 2006 at 11:05:43PM +0900, Daniel V?lkerts wrote: > Hi there, after I searched the ruby-doc.org site I couldn't find a hint > how to call a class method on different classes. > > I've a helper class which parses a text input and which should either call > > Role.something or > > Organisation.anotherthing > > depening which parameter was passed. > > Please give a little hint to proceed. Thanks a lot... Just do it if condition Role.something else Organisation.anotherthing end Nothing special.