After notice to the adverse party, the court or judge shall proceed in a summary way to hear the allegations and proof of the parties, and to order any such books or papers to be delivered to the petitioner.

(Enacted by Stats. 1943, Ch. 134.)