Class: Hermeneutics::Cli::ImapTools::Idle

Inherits:
CommandNamed show all
Defined in:
lib/hermeneutics/cli/imap/commands.rb

Constant Summary collapse

NAME =
:IDLE
DONE =
:DONE

Instance Attribute Summary

Attributes inherited from Command

#responses

Instance Method Summary collapse

Methods inherited from CommandNamed

#name

Methods inherited from Command

#add_response, #initialize

Constructor Details

This class inherits a constructor from Hermeneutics::Cli::ImapTools::Command

Instance Method Details

#paramsObject



177
# File 'lib/hermeneutics/cli/imap/commands.rb', line 177

def params ; [] ; end

#stream_lines(r) {|[DONE]| ... } ⇒ Object

Yields:



179
180
181
182
# File 'lib/hermeneutics/cli/imap/commands.rb', line 179

def stream_lines r
  _ = super
  yield [DONE]
end