commit e1e63d39b328761c1cb9b7e5d03ee93365cc45ea
parent fe56e8fe02b2be19b455652ace77959ef13feeb7
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Fri, 9 Nov 2007 19:18:49 +0000
tiny bugfix for threadindexmode#contains_thread from eyal oren
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@689 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
@@ -68,7 +68,7 @@ EOS
def lines; @text.length; end
def [] i; @text[i]; end
#def contains_thread? t; !@lines[t].nil?; end
- def contains_thread? t; @threads.contains?(t) end
+ def contains_thread? t; @threads.include?(t) end
def reload
drop_all_threads