Class: Hermeneutics::Cli::ImapTools::ResponseWait
- Defined in:
- lib/hermeneutics/cli/imap.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(text) ⇒ ResponseWait
constructor
A new instance of ResponseWait.
- #to_s ⇒ Object
- #wait? ⇒ Boolean
Methods inherited from Response
Constructor Details
#initialize(text) ⇒ ResponseWait
Returns a new instance of ResponseWait.
176 |
# File 'lib/hermeneutics/cli/imap.rb', line 176 def initialize text ; @text = text ; end |
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text.
175 176 177 |
# File 'lib/hermeneutics/cli/imap.rb', line 175 def text @text end |
Class Method Details
.create(reader) ⇒ Object
171 172 173 |
# File 'lib/hermeneutics/cli/imap.rb', line 171 def create reader new reader.readline end |
Instance Method Details
#to_s ⇒ Object
178 |
# File 'lib/hermeneutics/cli/imap.rb', line 178 def to_s ; "#{text}" ; end |
#wait? ⇒ Boolean
177 |
# File 'lib/hermeneutics/cli/imap.rb', line 177 def wait? ; true ; end |