mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Let pretty_inspect work once at first
For older pp.rb which did not need io/console, and dealing with `LoadError`.
This commit is contained in:
parent
dc46529b64
commit
438220f063
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module Test
|
|||
module CoreAssertions
|
||||
require_relative 'envutil'
|
||||
require 'pp'
|
||||
require 'io/console'
|
||||
nil.pretty_inspect
|
||||
|
||||
def mu_pp(obj) #:nodoc:
|
||||
obj.pretty_inspect.chomp
|
||||
|
|
Loading…
Reference in a new issue