Method: PeepingTom::Notifier::IRC#notify!
- Defined in:
- lib/peeping_tom/notifier/irc.rb
#notify!(site) ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/peeping_tom/notifier/irc.rb', line 12 def notify!(site) msg = "#{site.name} was tested at #{site.url}, and it's busted. You should look into that." ShoutBot.shout("irc://PeepingTom@#{@server_name}:#{@port}/#{@channel}") do |channel| channel.say msg end rescue SocketError #gulp gulp gulp end |