From 5dd7ca65fdb90d6ffe53790abf1fe5a29a66675e Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Fri, 19 Aug 2011 04:43:37 +0200 Subject: rename CaseIgnoringWordList to WordList::CaseIgnoring --- lib/coderay/helpers/word_list.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/coderay/helpers') 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 -- cgit v1.2.1