Skip to content

Not follow the flow after a loop #12

@gmgp

Description

@gmgp

Hi and tanks for the work

if project.blocked?  
  problems.each do |i| 
    eat(:donuts)
    solve(i)
  end
else
  sleep
end

puts 'ok'

the result is

graph

the same without the if

problems.each{|i| 
  eat(:donuts)
  solve(i)
}
puts 'ok'

graph (1)

with some hint i can try to make a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions