Method: RubyClock#shutdown
- Defined in:
- lib/ruby-clock.rb
#shutdown ⇒ Object
27 28 29 30 31 |
# File 'lib/ruby-clock.rb', line 27 def shutdown puts "Shutting down ruby-clock. Waiting #{wait_seconds} seconds for jobs to finish..." schedule.shutdown(wait: wait_seconds) puts "...done 🐈 👋" end |