Ruby 2.4.0 リファレンスマニュアル > ライブラリ一覧 > net/imapライブラリ > Net::IMAP::BodyTypeTextクラス > lines

instance method Net::IMAP::BodyTypeText#lines

lines -> Integer[permalink][rdoc]

ボディの行数を返します。