[ruby-list:50586] Re: IMAP IDLE
From:
EMOTO Masahiko <emo@...>
Date:
2017-09-06 04:17:21 UTC
List:
ruby-list #50586
ありがとうござます。 これで問題なく動いているようです。 江本 On 2017/09/05 17:12, Shugo Maeda wrote: > モンキーパッチだとContinuationRequestなどの定数が見つからないせいではないかと思います。 > 以下のコードでどうでしょうか。 > > class Net::IMAP::ResponseParser > def continue_req > match(T_PLUS) > token = lookahead > if token.symbol == T_SPACE > shift_token > return Net::IMAP::ContinuationRequest.new(resp_text, @str) > else > return Net::IMAP::ContinuationRequest.new(Net::IMAP::ResponseText.new(nil, > ""), @str) > end > end > end > >