diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2011-08-19 04:43:37 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2011-08-19 04:43:37 +0200 |
commit | 5dd7ca65fdb90d6ffe53790abf1fe5a29a66675e (patch) | |
tree | b7450d8dd5b606ea70c8cb54c4743b83b91cf17c /lib/coderay/scanners/html.rb | |
parent | 5b0d3ed58e4e804ba5585dd2091b8091498488fc (diff) | |
download | coderay-5dd7ca65fdb90d6ffe53790abf1fe5a29a66675e.tar.gz |
rename CaseIgnoringWordList to WordList::CaseIgnoring
Diffstat (limited to 'lib/coderay/scanners/html.rb')
-rw-r--r-- | lib/coderay/scanners/html.rb | 5 |
1 files changed, 2 insertions, 3 deletions
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 |