method

inspect

rails latest stable - Class: Inspector

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

inspect()
public

No documentation available.

# File railties/lib/commands/process/inspector.rb, line 20
  def inspect
    header = `#{OPTIONS[:ps] % 1}`.split("\n")[0] + "\n"
    lines  = pids.collect { |pid| `#{OPTIONS[:ps] % pid}`.split("\n")[1] }
    
    puts(header + lines.join("\n"))
  end