Class: RABX::ErrorMessage
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#extra ⇒ Object
readonly
Returns the value of attribute extra.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
Constructor Details
This class inherits a constructor from RABX::Message
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
217 218 219 |
# File 'lib/rabx/message.rb', line 217 def code @code end |
#extra ⇒ Object (readonly)
Returns the value of attribute extra.
217 218 219 |
# File 'lib/rabx/message.rb', line 217 def extra @extra end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
217 218 219 |
# File 'lib/rabx/message.rb', line 217 def text @text end |
Instance Method Details
#parse ⇒ Object
219 220 221 222 223 |
# File 'lib/rabx/message.rb', line 219 def parse @code = getnetstring @text = getnetstring @extra = gets unless eof? end |