Class: Inspector
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pid_path, pattern) ⇒ Inspector
constructor
A new instance of Inspector.
- #inspect ⇒ Object
Constructor Details
#initialize(pid_path, pattern) ⇒ Inspector
Returns a new instance of Inspector.
16 17 18 |
# File 'lib/commands/process/inspector.rb', line 16 def initialize(pid_path, pattern) @pid_path, @pattern = pid_path, pattern end |
Class Method Details
.inspect(pid_path, pattern) ⇒ Object
12 13 14 |
# File 'lib/commands/process/inspector.rb', line 12 def self.inspect(pid_path, pattern) new(pid_path, pattern).inspect end |