class XRBP::WebSocket::Parallel::All
Attributes
connections[RW]
Public Class Methods
new(connections)
click to toggle source
# File lib/xrbp/websocket/multi/parallel.rb, line 9 def initialize(connections) @connections = connections end
Public Instance Methods
method_missing(m, *args, &bl)
click to toggle source
# File lib/xrbp/websocket/multi/parallel.rb, line 13 def method_missing(m, *args, &bl) connections.collect { |c| c.send(m, *args, &bl) if c.open? } end