Class: Dogviz::Process
- Inherits:
-
Object
- Object
- Dogviz::Process
- Defined in:
- lib/dogviz/process.rb
Instance Attribute Summary collapse
-
#processor ⇒ Object
readonly
Returns the value of attribute processor.
Instance Method Summary collapse
- #description ⇒ Object
-
#initialize(processor, description) ⇒ Process
constructor
A new instance of Process.
- #name ⇒ Object
Constructor Details
#initialize(processor, description) ⇒ Process
Returns a new instance of Process.
3 4 5 6 |
# File 'lib/dogviz/process.rb', line 3 def initialize(processor, description) @processor = processor @description = description end |
Instance Attribute Details
#processor ⇒ Object (readonly)
Returns the value of attribute processor.
16 17 18 |
# File 'lib/dogviz/process.rb', line 16 def processor @processor end |
Instance Method Details
#description ⇒ Object
12 13 14 |
# File 'lib/dogviz/process.rb', line 12 def description @description end |
#name ⇒ Object
8 9 10 |
# File 'lib/dogviz/process.rb', line 8 def name @processor.name end |