Class: Service

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/service.rb

Overview

Service encapsulates an object which executes a bit of code in a loop that can be started or stopped and query whether it is running or not.

Defined Under Namespace

Modules: Base

Constant Summary collapse

VERSION =
"2.0.0".freeze

Method Summary

Methods included from Base

#execute, #execute!, #start, #start!, #started?, #stop, #stopped?