Class: PutsRenderer

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

Instance Method Summary collapse

Instance Method Details

#render(commit_story_state) ⇒ Object



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

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