Class: Zold::Remotes::Empty

Inherits:
Object
  • Object
show all
Defined in:
lib/zold/remotes.rb

Overview

Empty, for standalone mode

Instance Method Summary collapse

Constructor Details

#initializeEmpty

Returns a new instance of Empty.



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

def initialize
  # Nothing to init here
end

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