Class: Elrpc::ReturnMessage
- Inherits:
-
Object
- Object
- Elrpc::ReturnMessage
- Defined in:
- lib/elrpc.rb
Instance Attribute Summary collapse
-
#uid ⇒ Object
readonly
Returns the value of attribute uid.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(uid, value) ⇒ ReturnMessage
constructor
A new instance of ReturnMessage.
- #to_ast ⇒ Object
Constructor Details
#initialize(uid, value) ⇒ ReturnMessage
Returns a new instance of ReturnMessage.
250 251 252 253 |
# File 'lib/elrpc.rb', line 250 def initialize(uid, value) @uid = uid @value = value end |
Instance Attribute Details
#uid ⇒ Object (readonly)
Returns the value of attribute uid.
248 249 250 |
# File 'lib/elrpc.rb', line 248 def uid @uid end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
248 249 250 |
# File 'lib/elrpc.rb', line 248 def value @value end |
Instance Method Details
#to_ast ⇒ Object
255 256 257 |
# File 'lib/elrpc.rb', line 255 def to_ast [:return, @uid, @value] end |