From bc149639535c29ffd818bc8c9ac2b26fe9b88dbc Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Fri, 29 Dec 2017 11:12:05 -0800 Subject: [PATCH] stop using awesome_print --- irbrc | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/irbrc b/irbrc index 6d877f1..79eaf46 100755 --- a/irbrc +++ b/irbrc @@ -1,27 +1,6 @@ require 'rubygems' require 'irb/completion' -# Use awesome print for awesome output -begin - require 'awesome_print' - - unless IRB.version.include?('DietRB') - IRB::Irb.class_eval do - def output_value - ap @context.last_value - end - end - else # MacRuby - IRB.formatter = Class.new(IRB::Formatter) do - def inspect_object(object) - object.ai - end - end.new - end -rescue LoadError => e - # puts "!! Failed to load awesome print." -end - # Use the simple prompt if possible. IRB.conf[:PROMPT_MODE] = :SIMPLE if IRB.conf[:PROMPT_MODE] == :DEFAULT