lib/nucleon/event/regex.rb in nucleon-0.1.3 vs lib/nucleon/event/regex.rb in nucleon-0.1.4
- old
+ new
@@ -4,10 +4,10 @@
class Regex < Plugin::Event
#-----------------------------------------------------------------------------
# Regular expression event interface
- def normalize
+ def normalize(reload)
super
if get(:string)
myself.pattern = delete(:string)
end