Method: BrowserChannel::Session#initialize

Defined in:
lib/browser_channel.rb

#initialize(id) ⇒ Session

Returns a new instance of Session.



126
127
128
129
130
131
# File 'lib/browser_channel.rb', line 126

def initialize id
  @id = id
  @array_id = -1
  @messages = []
  unbind(@channel = nil) # trick into init
end