Class: Elrpc::MethodsMessage
- Inherits:
-
Object
- Object
- Elrpc::MethodsMessage
- Defined in:
- lib/elrpc.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#uid ⇒ Object
readonly
Returns the value of attribute uid.
Instance Method Summary collapse
-
#initialize(uid, block) ⇒ MethodsMessage
constructor
A new instance of MethodsMessage.
- #to_ast ⇒ Object
Constructor Details
#initialize(uid, block) ⇒ MethodsMessage
Returns a new instance of MethodsMessage.
225 226 227 228 |
# File 'lib/elrpc.rb', line 225 def initialize(uid, block) @uid = uid @block = block end |
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block.
223 224 225 |
# File 'lib/elrpc.rb', line 223 def block @block end |
#uid ⇒ Object (readonly)
Returns the value of attribute uid.
223 224 225 |
# File 'lib/elrpc.rb', line 223 def uid @uid end |
Instance Method Details
#to_ast ⇒ Object
230 231 232 |
# File 'lib/elrpc.rb', line 230 def to_ast [:methods, @uid] end |