Feeding Ruby Code into JIRB

Is there an elegant way to stream existing Ruby code into JIRB?