In this Chapter, we will use a simple script to learn how to use Ruby and Selenium-WebDriver to write and execute scripts.
Now, type irb
in "Terminal" to launch "Interactive Ruby Shell".
Basically this part explains the sample on http://docs.seleniumhq.org/docs/03_webdriver.jsp in details.