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