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