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.
237 238 239 240 |
# File 'lib/elrpc.rb', line 237 def initialize(uid, block) @uid = uid @block = block end |
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block.
235 236 237 |
# File 'lib/elrpc.rb', line 235 def block @block end |
#uid ⇒ Object (readonly)
Returns the value of attribute uid.
235 236 237 |
# File 'lib/elrpc.rb', line 235 def uid @uid end |
Instance Method Details
#to_ast ⇒ Object
242 243 244 |
# File 'lib/elrpc.rb', line 242 def to_ast [:methods, @uid] end |