Module: Blabber::Channel

Included in:
Console, Mock
Defined in:
lib/blabber/channel.rb

Instance Method Summary collapse

Instance Method Details

#emit(message, loglevel, opts = nil) ⇒ Object



6
7
8
9
10
# File 'lib/blabber/channel.rb', line 6

def emit(message, loglevel, opts = nil)
 if should_emit(loglevel)
   speak(message, loglevel, opts)
  end
end