lib/lsync/event_handler.rb in lsync-2.3.1 vs lib/lsync/event_handler.rb in lsync-2.3.2
- old
+ new
@@ -40,10 +40,10 @@
if @events && @events[event]
@events[event].each do |handler|
handled = true
if scope
- scope.instance_eval &handler
+ scope.instance_exec *args, &handler
else
handler.call
end
end
end