As I am going through my journey by adopting the Ruby language, I spend a lot of time inside IRb. It's just fantastic! But, as I am not very aware of it's capabilities, and still a “nubby” with Ruby, I would like to know the following:
I'm not sure it's possible to 'flush' a session. However, you can load your classes like this:
irb -r 'hello.rb' -r 'hello_objects.rb'