Silent load of file by irb at startup

I’m working at a simple budget calculator application which I would like
to run in irb (perhaps a modified one).
Basically I want irb to load a ruby file like the one below

STDOUT.puts “Instructions: blah-blah”
while line = STDIN.gets
STDERR.puts line
end

at irb startup, but make it silent so that the lines loaded are not
echoed in irb session, yet the output of STDOUT (Instructions:
blah-blah) is still visible.

Is there a simple way to accomplish this?
Thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs