/usr/lib/ruby/vendor_ruby/qrack/channel.rb is in ruby-bunny 0.7.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # encoding: utf-8
module Qrack
# Channel ancestor class
class Channel
attr_accessor :number, :active, :frame_buffer
attr_reader :client
def initialize(client)
@frame_buffer = []
@client = client
@number = client.channels.size
@active = false
client.channels[@number] = self
end
end
end
|