class CodeRay::WordList::CaseIgnoring

A CaseIgnoring WordList is like a WordList, only that keys are compared case-insensitively (normalizing keys using downcase).

Public Instance Methods

[](key) click to toggle source
# File lib/coderay/helpers/word_list.rb, line 62
def [] key
  super key.downcase
end
[]=(key, value) click to toggle source
# File lib/coderay/helpers/word_list.rb, line 66
def []= key, value
  super key.downcase, value
end