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.
135 136 137 |
# File 'lib/zold/remotes.rb', line 135 def initialize # Nothing to init here end |
Instance Method Details
#all ⇒ Object
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
143 144 145 |
# File 'lib/zold/remotes.rb', line 143 def master?(_, _) true end |
#mtime ⇒ Object
151 152 153 |
# File 'lib/zold/remotes.rb', line 151 def mtime Time.now end |