Class: Net::NNTP::NewnewsResponse
- Inherits:
-
ArticleBaseResponse
- Object
- Response
- OKResponse
- ArticleBaseResponse
- Net::NNTP::NewnewsResponse
- Includes:
- BodyBaseResponse
- Defined in:
- lib/net/nntp/response.rb
Overview
Code: 230
Instance Attribute Summary collapse
-
#list ⇒ Object
readonly
Returns the value of attribute list.
Attributes inherited from ArticleBaseResponse
Attributes inherited from Response
Instance Method Summary collapse
Methods included from BodyBaseResponse
Methods inherited from ArticleBaseResponse
Methods inherited from Response
#==, #body, class_from_code, create, #force_close?, #generic?, #has_body?, #initialize, #multiline?, #needs_article?
Constructor Details
This class inherits a constructor from Net::NNTP::ArticleBaseResponse
Instance Attribute Details
#list ⇒ Object (readonly)
Returns the value of attribute list.
445 446 447 |
# File 'lib/net/nntp/response.rb', line 445 def list @list end |
Instance Method Details
#parse_body ⇒ Object
446 447 448 |
# File 'lib/net/nntp/response.rb', line 446 def parse_body @list = @raw.split(/\r?\n/) end |