lib/vedeu/main_loop.rb in vedeu-0.4.14 vs lib/vedeu/main_loop.rb in vedeu-0.4.15
- old
+ new
@@ -15,11 +15,11 @@
# :nocov:
# Start the main loop.
#
# @param block [Proc]
# @return [void]
- def self.start!(&block)
+ def self.start!
@started = true
@loop = true
while @loop
yield
@@ -34,11 +34,9 @@
#
# @return [void]
def self.stop!
@loop = false
end
-
- private
# Check the application has started and we wish to continue running.
#
# @raise [VedeuInterrupt] When we wish to terminate the running application.
# @return [void]