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.



126
127
128
# File 'lib/zold/remotes.rb', line 126

def initialize
  # Nothing to init here
end

Instance Method Details

#allObject



130
131
132
# File 'lib/zold/remotes.rb', line 130

def all
  []
end

#iterate(_) ⇒ Object



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

def iterate(_)
  # Nothing to do here
end

#master?(_, _) ⇒ Boolean

Returns:

  • (Boolean)


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

def master?(_, _)
  true
end

#mtimeObject



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

def mtime
  Time.now
end