Reformatted excerpts from Bryan Richardson's message of 2010-01-06: > I'd take a stab at it if a Sup guru would give me a few pointers as to > where to start... :)
SentManager.write_sent_message is the method you want to play with. For hook stuff, take a look at how any of the current hooks are defined and called (git grep 'hook' or something). Ben Walton's posts on this thread are also very useful. The simplest approach might be to just have the hook return a source that's used (if supplied) instead of the default source, and leave it up to the hook writer to interact with SourceManager or whatever to acquire the Source object they want. -- William <[email protected]> _______________________________________________ sup-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/sup-talk
