iron-io/iron_worker_examples — Issue #8: Create Master/Slave Example that uses Subclassing
Author: frommww
Created: 2012-01-25 06:06:11+00:00
State: open

From a user:

In addition, I wanted to note that I have a master-slave configuration with my workers. What may or may not be interesting about my configuration is that the slave worker subclasses the master worker (which subclasses IronWorker::base).

I am not sure if this was different than how you had intended IronWorker::Base to be used (or if it is super obvious :) but it seems to work and keeps the codebase DRY. It might be nice to give an example of subclassing workers in the docs.