Class: Elrpc::ReturnMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/elrpc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#uidObject (readonly)

Returns the value of attribute uid.



248
249
250
# File 'lib/elrpc.rb', line 248

def uid
  @uid
end

#valueObject (readonly)

Returns the value of attribute value.



248
249
250
# File 'lib/elrpc.rb', line 248

def value
  @value
end

Instance Method Details

#to_astObject



255
256
257
# File 'lib/elrpc.rb', line 255

def to_ast
  [:return, @uid, @value]
end