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, PORT, TOLERANCE

Instance Method Summary collapse

Methods inherited from Zold::Remotes

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

Instance Method Details

#allObject



59
60
61
# File 'lib/zold/remotes.rb', line 59

def all
  []
end

#iterate(_) ⇒ Object



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

def iterate(_)
  # Nothing to do here
end

#mtimeObject



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

def mtime
  Time.now
end