Skip to content

Instantly share code, notes, and snippets.

@rummelonp
Created August 8, 2014 07:35
Show Gist options
  • Save rummelonp/2b66122f96ebd90f1444 to your computer and use it in GitHub Desktop.
Save rummelonp/2b66122f96ebd90f1444 to your computer and use it in GitHub Desktop.
if defined? BetterErrors
require 'better_errors/repl/pry'
class BetterErrors::REPL::Pry::Output
def print(*args)
args.each { |arg| @buffer << arg.chomp }
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment