IRB is a Ruby tool which lets you interact with a Ruby interpreter at a command prompt. The IRB icon on the Ruby Toolbar is simple a shortcut to IRB. When clicked it runs IRB but does not pass to it the current code file.
See Also
Tools
Ruby and Rails Tools