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.
230 231 232 233 |
# File 'lib/elrpc.rb', line 230 def initialize(uid, block) @uid = uid @block = block end |
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block.
228 229 230 |
# File 'lib/elrpc.rb', line 228 def block @block end |
#uid ⇒ Object (readonly)
Returns the value of attribute uid.
228 229 230 |
# File 'lib/elrpc.rb', line 228 def uid @uid end |
Instance Method Details
#to_ast ⇒ Object
235 236 237 |
# File 'lib/elrpc.rb', line 235 def to_ast [:methods, @uid] end |