lib/gumdrop/util/eventable.rb in gumdrop-1.1.0 vs lib/gumdrop/util/eventable.rb in gumdrop-1.1.1

- old
+ new

@@ -9,10 +9,12 @@ fire "before_#{target}".to_sym data= HashObject.new result= data.payload= yield(data) fire target, data fire "after_#{target}".to_sym, data - data.return_value || result + ret_val= data.return_value || result + data.clear() + ret_val end def fire(event, data=nil) data= case when data.nil? \ No newline at end of file