Class: CapistranoNotification::IRC
- Inherits:
-
Base
- Object
- Base
- CapistranoNotification::IRC
show all
- Defined in:
- lib/capistrano-notification.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize, var
Instance Method Details
#login ⇒ Object
66
67
68
|
# File 'lib/capistrano-notification.rb', line 66
def login
[user, password].compact.join(':')
end
|
#run ⇒ Object
60
61
62
63
64
|
# File 'lib/capistrano-notification.rb', line 60
def run
ShoutBot.shout("irc://#{login}@#{host}:#{port}/#{channel}") do |channel|
channel.say message
end
end
|