Class: Pendaxes::Notificator::Terminal
- Inherits:
-
Pendaxes::Notificator
- Object
- Pendaxes::Notificator
- Pendaxes::Notificator::Terminal
- Defined in:
- lib/pendaxes/notificators/terminal.rb
Instance Method Summary collapse
Methods inherited from Pendaxes::Notificator
#initialize, #report_for, #reporter
Methods included from Defaults
Methods included from Finder
Methods included from PendingManager
#add, #all_pendings, #pendings, #reset
Constructor Details
This class inherits a constructor from Pendaxes::Notificator
Instance Method Details
#notify ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/pendaxes/notificators/terminal.rb', line 8 def notify io = @config.to pendings.group_by{|x| "#{x[:commit][:name]} <#{x[:commit][:email]}>" }.each do |name, pends| io.puts "#{name}:" io.puts io.puts report_for(pends) io.puts end end |