Class: Zold::Remotes::Empty

Inherits:
Zold::Remotes show all
Defined in:
lib/zold/remotes.rb

Overview

Empty, for standalone mode

Constant Summary

Constants inherited from Zold::Remotes

MAX_NODES, MUTEX, PORT, TOLERANCE

Instance Method Summary collapse

Methods inherited from Zold::Remotes

#add, #clean, #error, #exists?, #remove, #rescore, #reset

Instance Method Details

#allObject



62
63
64
# File 'lib/zold/remotes.rb', line 62

def all
  []
end

#iterate(_) ⇒ Object



66
67
68
# File 'lib/zold/remotes.rb', line 66

def iterate(_)
  # Nothing to do here
end

#mtimeObject



70
71
72
# File 'lib/zold/remotes.rb', line 70

def mtime
  Time.now
end