Class: LWS::Generic::Task
Overview
The task class
Direct Known Subclasses
Instance Attribute Summary collapse
-
#created_at ⇒ String
The timestamp of when the map was created.
-
#function ⇒ String
The function to run.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the task.
-
#interval ⇒ Fixnum
The interval in minutes.
-
#last_ran ⇒ String
The time the task was last run.
-
#name ⇒ String
The name of the task.
-
#node_name ⇒ String
The name of the node.
-
#pid ⇒ String
The process ID of the task.
-
#started ⇒ String
The time the task was started.
-
#updated_at ⇒ String
The timestamp of when the map was last updated.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(attrs = {}) ⇒ Task
77 78 79 |
# File 'lib/lws/generic.rb', line 77 def initialize(attrs = {}) super end |
Instance Attribute Details
#created_at ⇒ String
|
|
# File 'lib/lws/generic.rb', line 71
|
#function ⇒ String
|
|
# File 'lib/lws/generic.rb', line 56
|
#id ⇒ Fixnum (readonly)
|
|
# File 'lib/lws/generic.rb', line 47
|
#interval ⇒ Fixnum
|
|
# File 'lib/lws/generic.rb', line 53
|
#last_ran ⇒ String
|
|
# File 'lib/lws/generic.rb', line 59
|
#name ⇒ String
|
|
# File 'lib/lws/generic.rb', line 50
|
#node_name ⇒ String
|
|
# File 'lib/lws/generic.rb', line 65
|
#pid ⇒ String
|
|
# File 'lib/lws/generic.rb', line 68
|
#started ⇒ String
|
|
# File 'lib/lws/generic.rb', line 62
|
#updated_at ⇒ String
77 78 79 |
# File 'lib/lws/generic.rb', line 77 def initialize(attrs = {}) super end |