feat: ✨ add execute_all function
This commit is contained in:
parent
55030a7829
commit
96f54f13b6
1 changed files with 12 additions and 0 deletions
|
@ -142,5 +142,17 @@ module Comfpile
|
||||||
|
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def execute_all
|
||||||
|
step_count = 0
|
||||||
|
|
||||||
|
until @processing_stack.empty?
|
||||||
|
execute_step()
|
||||||
|
step_count += 1
|
||||||
|
end
|
||||||
|
|
||||||
|
puts "Done after #{step_count} exec loops..."
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Add table
Add a link
Reference in a new issue