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



66
67
68
# File 'lib/capistrano-notification.rb', line 66

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

#runObject



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

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