Module: Wakame::Actor

Included in:
Daemon, Deploy, Monitor, MySQL, S3fs, ServiceMonitor, System
Defined in:
lib/wakame/actor.rb

Defined Under Namespace

Modules: ClassMethods Classes: Daemon, Deploy, Monitor, MySQL, S3fs, ServiceMonitor, System

Constant Summary collapse

STATUS_RUNNING =
1
STATUS_SUCCESS =
2
STATUS_FAILED =
0
STATUS_CANCELED =
3

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



10
11
12
13
14
15
# File 'lib/wakame/actor.rb', line 10

def self.included(klass)
  klass.extend ClassMethods
  klass.class_eval {
    attr_accessor :agent, :return_value
  }
end