Sha256: b50bdf3dbf8be1d9b7b836c7e19b97df92bc1b9e0131e3dbf1d85850b2940317
Contents?: true
Size: 482 Bytes
Versions: 9
Compression:
Stored size: 482 Bytes
Contents
class Autorespawn # Functionality to watch a program for change class Watch # @return [ProgramID] the reference state attr_reader :current_state def initialize(current_state) @current_state = current_state end # Wait for changes def wait loop do if current_state.changed? return end sleep 1 end end end end
Version data entries
9 entries across 9 versions & 1 rubygems