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.
175 |
# File 'lib/hermeneutics/cli/imap.rb', line 175 def initialize text ; @text = text ; end |
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text.
174 175 176 |
# File 'lib/hermeneutics/cli/imap.rb', line 174 def text @text end |
Class Method Details
.create(reader) ⇒ Object
170 171 172 |
# File 'lib/hermeneutics/cli/imap.rb', line 170 def create reader new reader.readline end |
Instance Method Details
#to_s ⇒ Object
177 |
# File 'lib/hermeneutics/cli/imap.rb', line 177 def to_s ; "#{text}" ; end |
#wait? ⇒ Boolean
176 |
# File 'lib/hermeneutics/cli/imap.rb', line 176 def wait? ; true ; end |