Module: EventMachine::Campfire::Connection

Included in:
EventMachine::Campfire
Defined in:
lib/em-campfire/connection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ignore_selfObject

Returns the value of attribute ignore_self.



4
5
6
# File 'lib/em-campfire/connection.rb', line 4

def ignore_self
  @ignore_self
end

Instance Method Details

#on_message(&blk) ⇒ Object



6
7
8
# File 'lib/em-campfire/connection.rb', line 6

def on_message &blk
  @on_message_block = blk
end