lib/rbcurse/action.rb in rbcurse-1.1.5 vs lib/rbcurse/action.rb in rbcurse-1.2.0.pre
- old
+ new
@@ -18,9 +18,10 @@
super &block
@name = name
@name.freeze
@enabled = true
config_setup config # @config.each_pair { |k,v| variable_set(k,v) }
+ @_events = [:FIRE]
end
def call
return unless @enabled
fire_handler :FIRE, self
super