Sha256: 4674353879a598d263e388b03a31d88f3e239ea758752de8b3bc04b79ca0effe
Contents?: true
Size: 434 Bytes
Versions: 20
Compression:
Stored size: 434 Bytes
Contents
class Pry DEFAULT_PRINT = proc do |output, value| if Pry.color output.puts "=> #{CodeRay.scan(Pry.view(value), :ruby).term}" else output.puts "=> #{Pry.view(value)}" end end # Will only show the first line of the backtrace DEFAULT_EXCEPTION_HANDLER = proc do |output, exception| output.puts "#{exception.class}: #{exception.message}" output.puts "from #{exception.backtrace.first}" end end
Version data entries
20 entries across 20 versions & 1 rubygems