Method: Vedeu::Distributed::Server#status
- Defined in:
- lib/vedeu/distributed/server.rb
#status ⇒ Symbol
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Fetch the status of the DRb server.
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
# File 'lib/vedeu/distributed/server.rb', line 164 def status log('Fetching status') return not_enabled unless Vedeu.config.drb? if drb_running? log('Running') :running else log('Stopped') :stopped end end |