Class: Operation
- Inherits:
-
Object
- Object
- Operation
- Defined in:
- lib/agent/operation.rb
Overview
Ruby version of the Operation
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#operationType ⇒ Object
Returns the value of attribute operationType.
Instance Method Summary collapse
-
#initialize(properties, label, operationType) ⇒ Operation
constructor
A new instance of Operation.
Constructor Details
#initialize(properties, label, operationType) ⇒ Operation
Returns a new instance of Operation.
7 8 9 10 11 |
# File 'lib/agent/operation.rb', line 7 def initialize(properties, label, operationType) @properties = properties @label = label @operationType = operationType end |
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label.
13 14 15 |
# File 'lib/agent/operation.rb', line 13 def label @label end |
#operationType ⇒ Object
Returns the value of attribute operationType.
13 14 15 |
# File 'lib/agent/operation.rb', line 13 def operationType @operationType end |