Module: Capistrano3::Notification::DSL

Defined in:
lib/capistrano3/notification/dsl.rb

Instance Method Summary collapse

Instance Method Details

#notify(message) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/capistrano3/notification/dsl.rb', line 4

def notify(message)
  return if dry_run?
  [Capistrano3::Notification::IRC,
   Capistrano3::Notification::Slack].each do |klass|
    klass.new(self).notify(message)
  end
end