Ryan Edwards-crewe wrote:
> Most excellent thank you, it's working now, it's always something small
> :P
> But if you don't mind me picking your brain, or anyone's for that
> matter. Is there a way I can clear the screen of the console from ruby,
> (eg. cls in terminal or windows command prompt), things just get real
> messy looking when all it does is scroll.
>
> Thanks.
>
> --
> Posted via http://www.ruby-forum.com/.

use the system command:
system('cls')
Or
`cls` #note the back-quotes

Note that Array (and anything that mixes in Enumerable) has a #find
method:

anPOlist.find {|aPO| aPO.poNumber == aPOnumber}

will return the first match, or nil if not found
  
cheers