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.



132
133
134
# File 'lib/zold/remotes.rb', line 132

def initialize
  # Nothing to init here
end

Instance Method Details

#allObject



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

def all
  []
end

#iterate(_) ⇒ Object



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

def iterate(_)
  # Nothing to do here
end

#master?(_, _) ⇒ Boolean

Returns:

  • (Boolean)


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

def master?(_, _)
  true
end

#mtimeObject



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

def mtime
  Time.now
end