sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 22435ad59893516bb711e17146c2cfe754beca72
parent 6f8c9bf8ae6d65fd41298aebb78b846e61297292
Author: Rich Lane <rlane@club.cc.cmu.edu>
Date:   Mon,  4 Jan 2010 11:35:17 -0800

implement const_missing for Index

Otherwise, constant references to LockError and ParseError will fail.

Diffstat:
M lib/sup/index.rb | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/sup/index.rb b/lib/sup/index.rb
@@ -201,6 +201,7 @@ class Index
 
   def self.instance; @obj end
   def self.method_missing m, *a, &b; @obj.send(m, *a, &b) end
+  def self.const_missing x; @obj.class.const_get(x) end
 end
 
 end