[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Plugin-API

Pierre Baillet

11/20/2003 1:24:00 PM

Hi, --

On Thu, Nov 20, 2003, Christian Kruse wrote:
> Hi there,
>
> I'm writing an application in Ruby which should be easy to extend. One
> should be able to write a plugin for this application and should be able
> to load it with an entry in the config file, e.g.
>
> [snip]
> What's the "ruby way" to do this?
>
> Greetings,
> CK
>

Maybe you can have a look at the rbot source code
(http://www.linux...) which has a quite good system of plugin
auto discovery (and reload too)

HTH,
--
Pierre Baillet
It is a good viewpoint to see the world as a dream. When you have something
like a nightmare, you will wake up and tell yourself that it was only a dream.
It is said that the world we live in is not a bit different from this.
Ghost Dog - The Way of the Samouraï