class Pry::Command::ToggleColor
Public Instance Methods
color_toggle()
click to toggle source
# File lib/pry/commands/toggle_color.rb, line 21 def color_toggle !pry_instance.color end
process()
click to toggle source
# File lib/pry/commands/toggle_color.rb, line 16 def process pry_instance.color = color_toggle output.puts "Syntax highlighting #{pry_instance.color ? 'on' : 'off'}" end