Class: CapistranoNotification::IRC

Inherits:
Base
  • Object
show all
Defined in:
lib/capistrano-notification.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, var

Constructor Details

This class inherits a constructor from CapistranoNotification::Base

Instance Method Details

#loginObject



61
62
63
# File 'lib/capistrano-notification.rb', line 61

def 
  [user, password].compact.join(':')
end

#runObject



55
56
57
58
59
# File 'lib/capistrano-notification.rb', line 55

def run
  ShoutBot.shout("irc://#{}@#{host}:#{port}/#{channel}") do |channel|
    channel.say message
  end
end