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.



135
136
137
# File 'lib/zold/remotes.rb', line 135

def initialize
  # Nothing to init here
end

Instance Method Details

#allObject



139
140
141
# File 'lib/zold/remotes.rb', line 139

def all
  []
end

#iterate(_) ⇒ Object



147
148
149
# File 'lib/zold/remotes.rb', line 147

def iterate(_)
  # Nothing to do here
end

#master?(_, _) ⇒ Boolean

Returns:

  • (Boolean)


143
144
145
# File 'lib/zold/remotes.rb', line 143

def master?(_, _)
  true
end

#mtimeObject



151
152
153
# File 'lib/zold/remotes.rb', line 151

def mtime
  Time.now
end