Is there a wait or sleep method built into ruby?  The following is an
example of usage.

require 'win32ole'

ie = WIN32OLE.new
ie.visible=true
ie.gohome
# have to wait because web page must be
#fully loaded to get document
while ie.busy do
  # would like to call wait(100) where 100 is milliseconds
  # instead of doing the ie.busy check hundreds of times
end
doc = ie.document