I ended up *sort of* doing this - I basically removed the need for a formatter to inherit from a base class. But I put the module def in lib/metric_fu/formatter.rb and added/moved any necessary class methods there.