Sha256: 2dc0d6bbc96695949d629bfefa85cca07547f773fb476702a7f0cf13465c54e9
Contents?: true
Size: 202 Bytes
Versions: 8
Compression:
Stored size: 202 Bytes
Contents
hook(type: :code, code: @numeric::TOPIC) do |dat| m = /(.+?) :(.+)/.match(dat[:extra]) unless dat[:plug].chans[m[1]] dat[:plug].chans[m[1]] = {} end dat[:plug].chans[m[1]][:topic] = m[2] end
Version data entries
8 entries across 8 versions & 1 rubygems