From: Jan Svitok Date: 2006-10-03T23:31:27+09:00 Subject: Re: How to Call a static method? On 10/3/06, Daniel V�lkerts wrote: > Okay, misleading question. > > What if I like to call the classes dynamically e.g. > > def mymethod(class,method) > call(class,method,options) > end > > ? > > Where call is the Ruby function I'm looking for. Class.send(:method, *options) or const_get('Class').send(:method, *options) possibly const_get('Class').send(:method, *options, &block) but i'm not sure with this one.