class Pry::Command::ToggleColor

Public Instance Methods

process() click to toggle source
# File lib/pry/commands/toggle_color.rb, line 13
def process
  Pry.color = !Pry.color
  output.puts "Syntax highlighting #{Pry.color ? "on" : "off"}"
end