Method: ServiceState#isStopped?
- Defined in:
- lib/filesystemwatcher/servicestate.rb
#isStopped? ⇒ Boolean
61 62 63 64 65 66 67 68 69 70 |
# File 'lib/filesystemwatcher/servicestate.rb', line 61 def isStopped? if @state == STOPPED then return true elsif @stopWhen && @stopWhen.call() then setState(STOPPED) return true else return false end end |