Class: Core::Watch::Status

Inherits:
Object
  • Object
show all
Defined in:
lib/core/watch/status.rb

Overview

public

The status of a system watch.

Constant Summary collapse

STATES =
%i[running paused stopped].freeze

Instance Method Summary collapse

Constructor Details

#initializeStatus

Returns a new instance of Status.



10
11
12
13
# File 'lib/core/watch/status.rb', line 10

def initialize
  @state = :stopped
  @mutex = Mutex.new
end