lib/rails/graphql/native/visitor.rb
def dispatch(visitors, nodes, &block)
          @visit = visitors
          @block = block

          nodes.each(&method(:visit))
          raise @error unless @error.nil?
        ensure
          @error = @block = @visit = nil
        end
# Pre caller for calling the visitor on nodes
Pre caller for calling the visitor on nodes
Pre caller for calling the visitor on nodes
def dispatch(visitors, nodes, &block)
          @visit = visitors
          @block = block
          nodes.each(&method(:visit))
          raise @error unless @error.nil?
        ensure
          @error = @block = @visit = nil
        end
def dispatch ( visitors , nodes , & block ) @visit = visitors @block = block nodes . each ( & method ( :visit ) ) raise @error unless @error . nil? ensure @error = @block = @visit = nil end
Pre caller for calling the visitor on nodes
Pre caller for calling the visitor on nodes
visitors
nodes
block