Class: Daemonz::ProcTable::ProcInfo
- Inherits:
-
Object
- Object
- Daemonz::ProcTable::ProcInfo
- Defined in:
- lib/daemonz/process.rb
Instance Attribute Summary collapse
-
#cmdline ⇒ Object
readonly
Returns the value of attribute cmdline.
-
#pid ⇒ Object
readonly
Returns the value of attribute pid.
Instance Method Summary collapse
-
#initialize(pid, cmdline) ⇒ ProcInfo
constructor
A new instance of ProcInfo.
Constructor Details
#initialize(pid, cmdline) ⇒ ProcInfo
Returns a new instance of ProcInfo.
7 8 9 10 |
# File 'lib/daemonz/process.rb', line 7 def initialize(pid, cmdline) @pid = pid @cmdline = cmdline end |
Instance Attribute Details
#cmdline ⇒ Object (readonly)
Returns the value of attribute cmdline.
11 12 13 |
# File 'lib/daemonz/process.rb', line 11 def cmdline @cmdline end |
#pid ⇒ Object (readonly)
Returns the value of attribute pid.
11 12 13 |
# File 'lib/daemonz/process.rb', line 11 def pid @pid end |