Class: Ribbon::Intercom::Packet::MethodQueue
- Inherits:
-
Object
- Object
- Ribbon::Intercom::Packet::MethodQueue
- Defined in:
- lib/ribbon/intercom/packet/method_queue.rb
Instance Method Summary collapse
-
#each(&block) ⇒ Object
Iterate through the methods and arguments.
- #empty? ⇒ Boolean
-
#enqueue(name, *args) ⇒ Object
Enqueue a method with it’s arguments.
Instance Method Details
#each(&block) ⇒ Object
Iterate through the methods and arguments.
13 14 15 |
# File 'lib/ribbon/intercom/packet/method_queue.rb', line 13 def each(&block) _queue.each(&block) end |
#empty? ⇒ Boolean
17 18 19 |
# File 'lib/ribbon/intercom/packet/method_queue.rb', line 17 def empty? _queue.empty? end |