summaryrefslogtreecommitdiff
path: root/lib/coderay/helpers
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-08-19 04:43:37 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-08-19 04:43:37 +0200
commit5dd7ca65fdb90d6ffe53790abf1fe5a29a66675e (patch)
treeb7450d8dd5b606ea70c8cb54c4743b83b91cf17c /lib/coderay/helpers
parent5b0d3ed58e4e804ba5585dd2091b8091498488fc (diff)
downloadcoderay-5dd7ca65fdb90d6ffe53790abf1fe5a29a66675e.tar.gz
rename CaseIgnoringWordList to WordList::CaseIgnoring
Diffstat (limited to 'lib/coderay/helpers')
-rw-r--r--lib/coderay/helpers/word_list.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/coderay/helpers/word_list.rb b/lib/coderay/helpers/word_list.rb
index 7f8eba6..ea969c3 100644
--- a/lib/coderay/helpers/word_list.rb
+++ b/lib/coderay/helpers/word_list.rb
@@ -15,7 +15,7 @@ module CodeRay
# WordList is optimized to be used in Scanners,
# typically to decide whether a given ident is a special token.
#
- # For case insensitive words use CaseIgnoringWordList.
+ # For case insensitive words use WordList::CaseIgnoring.
#
# Example:
#
@@ -60,9 +60,9 @@ module CodeRay
end
- # A CaseIgnoringWordList is like a WordList, only that
+ # A CaseIgnoring WordList is like a WordList, only that
# keys are compared case-insensitively (normalizing keys using +downcase+).
- class CaseIgnoringWordList < WordList
+ class WordList::CaseIgnoring < WordList
def [] key
super key.downcase