Skip to content
Browse files

added: Awesome Print to irb.

  • Loading branch information...
1 parent 9099d97 commit de675b5b5b118fea67bee7569164ede3f1ba80ee @gf3 committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 .irbrc
View
7 .irbrc
@@ -1,2 +1,9 @@
require 'rubygems'
require 'interactive_editor'
+require 'ap'
+
+IRB::Irb.class_eval do
+ def output_value
+ ap @context.last_value
+ end
+end

0 comments on commit de675b5

Please sign in to comment.
Something went wrong with that request. Please try again.