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/scanners/html.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/coderay/scanners/html.rb') diff --git a/lib/coderay/scanners/html.rb b/lib/coderay/scanners/html.rb index 2f57e44..206ace0 100644 --- a/lib/coderay/scanners/html.rb +++ b/lib/coderay/scanners/html.rb @@ -32,7 +32,7 @@ module Scanners onvolumechange onwaiting ) - IN_ATTRIBUTE = CaseIgnoringWordList.new(nil). + IN_ATTRIBUTE = WordList::CaseIgnoring.new(nil). add(EVENT_ATTRIBUTES, :script) ATTR_NAME = /[\w.:-]+/ # :nodoc: @@ -58,8 +58,7 @@ module Scanners '"' => /[^&">\n]+/, } # :nodoc: - def reset # :nodoc: - # FIXME: why not overwrite reset_instance? + def reset_instance # :nodoc: super @state = :initial end -- cgit v1.2.1