]> git.cworth.org Git - sup/commit
MBox::Loader#next determines labels with self.labels instead of @labels
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 24 Feb 2008 22:28:53 +0000 (14:28 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 24 Feb 2008 22:28:53 +0000 (14:28 -0800)
commitecfdae994dcae9dcc6c554d9157d7ce5f0c6e188
tree56a5e29f3cc191b85428b36669b641f6ed0f799e
parent4419e8536b0f8f02e8951abc48e1988400a372e1
MBox::Loader#next determines labels with self.labels instead of @labels

This allows subclasses to define fixed #labels methods rather than
having to set a shared instance variable (which is one of the few
features of Ruby I actively hate.) SentLoader does this,
lib/sup/mbox/loader.rb