class Pry::Command::ListInspectors - pry-0.10.1 Documentation

# class Pry::Command::ListInspectors

### Public Instance Methods

process() click to toggle source

    # File lib/pry/commands/list_inspectors.rb, line 12
    def process
      output.puts heading("Available inspectors") + "\n"
      inspector_map.each do |name, inspector|
        output.write "Name: #{text.bold(name)}"
        output.puts selected_inspector?(inspector) ? selected_text : ""
        output.puts inspector[:description]
        output.puts
      end
    end