Class: Hermeneutics::Cli::ImapTools::Command
- Inherits:
-
Object
- Object
- Hermeneutics::Cli::ImapTools::Command
show all
- Defined in:
- lib/hermeneutics/cli/imap/commands.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
21
22
23
|
# File 'lib/hermeneutics/cli/imap/commands.rb', line 21
def initialize
@responses = []
end
|
Instance Attribute Details
#responses ⇒ Object
Returns the value of attribute responses.
19
20
21
|
# File 'lib/hermeneutics/cli/imap/commands.rb', line 19
def responses
@responses
end
|
Instance Method Details
#add_response(resp) ⇒ Object
29
30
31
|
# File 'lib/hermeneutics/cli/imap/commands.rb', line 29
def add_response resp
@responses.push resp
end
|
#stream_lines(r, &block) ⇒ Object
25
26
27
|
# File 'lib/hermeneutics/cli/imap/commands.rb', line 25
def stream_lines r, &block
mkdata.stream_lines r, &block
end
|