Class: Elrpc::EPCErrorMessage
- Inherits:
-
Object
- Object
- Elrpc::EPCErrorMessage
- Defined in:
- lib/elrpc.rb
Instance Attribute Summary collapse
-
#error_msg ⇒ Object
readonly
Returns the value of attribute error_msg.
-
#uid ⇒ Object
readonly
Returns the value of attribute uid.
Instance Method Summary collapse
-
#initialize(uid, error_msg) ⇒ EPCErrorMessage
constructor
A new instance of EPCErrorMessage.
- #to_ast ⇒ Object
Constructor Details
#initialize(uid, error_msg) ⇒ EPCErrorMessage
Returns a new instance of EPCErrorMessage.
272 273 274 275 |
# File 'lib/elrpc.rb', line 272 def initialize(uid, error_msg) @uid = uid @error_msg = error_msg end |
Instance Attribute Details
#error_msg ⇒ Object (readonly)
Returns the value of attribute error_msg.
270 271 272 |
# File 'lib/elrpc.rb', line 270 def error_msg @error_msg end |
#uid ⇒ Object (readonly)
Returns the value of attribute uid.
270 271 272 |
# File 'lib/elrpc.rb', line 270 def uid @uid end |
Instance Method Details
#to_ast ⇒ Object
277 278 279 |
# File 'lib/elrpc.rb', line 277 def to_ast [:'epc-error', @uid, @error_msg] end |