Class: Zold::Remotes::Empty
- Inherits:
-
Object
- Object
- Zold::Remotes::Empty
- Defined in:
- lib/zold/remotes.rb
Overview
Empty, for standalone mode
Instance Method Summary collapse
- #all ⇒ Object
-
#initialize ⇒ Empty
constructor
A new instance of Empty.
- #iterate(_) ⇒ Object
- #master?(_, _) ⇒ Boolean
- #mtime ⇒ Object
Constructor Details
#initialize ⇒ Empty
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
#all ⇒ Object
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
140 141 142 |
# File 'lib/zold/remotes.rb', line 140 def master?(_, _) true end |
#mtime ⇒ Object
148 149 150 |
# File 'lib/zold/remotes.rb', line 148 def mtime Time.now end |