Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > net/imapライブラリ > Net::IMAPクラス > select
select(mailbox)
Sends a SELECT command to select a mailbox so that messages in the mailbox can be accessed.