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
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?