From: Leslie Viljoen Date: 2008-06-20T16:17:23+09:00 Subject: Re: Eventmachine parameters to post_init On 6/20/08, Leslie Viljoen wrote: > Hi! > > I have a module which EventMachine mixes in to implement a UDP server. > In this case the module's post_init method is called when someone > connects and takes the place of a constructor, but how can I pass > parameters to post_init? > > I have a configuration object that I want to share among all of my > server instances, how do I accomplish that without making a global > variable? Nevermind, I see you can get EventMachine to make use of a class instead of a Module for new server instances. I'll use that facility. Les