# File lib/rubyrep/table_sync.rb, line 24 def execute_sync_hook(hook_id) hook = sync_options[hook_id] if hook if hook.respond_to?(:call) hook.call(helper) else [:left, :right].each do |database| session.send(database).execute hook end end end end