Method: Cuboid::State::Application#pause
- Defined in:
- lib/cuboid/state/application.rb
#pause ⇒ TrueClass
Returns Pauses the framework on a best effort basis, might take a while to take effect.
225 226 227 228 229 230 231 232 233 234 235 236 |
# File 'lib/cuboid/state/application.rb', line 225 def pause @pre_pause_status ||= @status if !paused? && !pausing? if !paused? @status = :pausing end @pause_signals << :nil paused if !running? true end |