class Build::Files::Handle
def changed!
def changed! @on_changed.call(@state) if @state.update! end
def commit!
def commit! @state.update! end
def directories
def directories @state.files.roots end
def initialize(monitor, files, &block)
def initialize(monitor, files, &block) @monitor = monitor @state = State.new(files) @on_changed = block end
def remove!
def remove! monitor.delete(self) end