From 9bc9a29789767e870c56938715811498fdbb5bf7 Mon Sep 17 00:00:00 2001 From: Alexey Verkhovsky Date: Fri, 28 Jan 2005 01:00:10 +0000 Subject: [PATCH] corrected a warning prevention condition --- app/models/chunks/wiki.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/chunks/wiki.rb b/app/models/chunks/wiki.rb index 6c25b8c9..c277162d 100644 --- a/app/models/chunks/wiki.rb +++ b/app/models/chunks/wiki.rb @@ -70,7 +70,7 @@ module WikiChunk # method will return the WikiWord instead of the usual +nil+. # The +page_name+ method returns the matched WikiWord. class Word < WikiLink - unless defined? WIKI_LINK + unless defined? WIKI_WORD WIKI_WORD = Regexp.new('(":)?(\\\\)?(' + WikiWords::WIKI_WORD_PATTERN + ')\b', 0, "utf-8") end