Class: PutsRenderer

Inherits:
Object
  • Object
show all
Defined in:
lib/puts_renderer.rb

Instance Method Summary collapse

Instance Method Details

#render(commit_story_state_project) ⇒ Object



2
3
4
5
6
7
8
# File 'lib/puts_renderer.rb', line 2

def render(commit_story_state_project)
  commit_story_state_project.each do |commit, ssp|
    unless ssp['state'] == :accepted
      puts "#{commit} ##{ssp['story']} #{ssp['state']} from #{ssp['project']}"
    end
  end
end