1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/irb
aycabta 515d6b47ad [ruby/irb] Stringify when a non-object is passed to PP#text
If a nested object is passed to #pp, it may be sometimes passed to the #text
method as an object without being stringified.

This is fixed on the Ruby main repository;
433a3be86a
but it was a bug of Ripper so still needs this workaround for using irb
as a gem on Ruby 3.0.0 or earlier.

Co-authored-by: k0kubun <takashikkbn@gmail.com>

https://github.com/ruby/irb/commit/8d13df22ee
2021-01-04 20:14:31 -08:00
..
cmd [ruby/irb] Try not to register the exact same measuring method twice 2020-12-24 23:26:22 +09:00
ext [ruby/irb] Discard newlines at end of file 2020-08-28 11:05:18 +09:00
lc [ruby/irb] Exclude useless files from RDoc 2020-02-01 17:03:59 +09:00
.document [ruby/irb] Exclude useless files from RDoc 2020-02-01 17:03:59 +09:00
color.rb [ruby/irb] Remove unnecessary ignore_error in dispatch_seq 2020-12-28 23:29:29 -08:00
color_printer.rb [ruby/irb] Stringify when a non-object is passed to PP#text 2021-01-04 20:14:31 -08:00
completion.rb Revert "Prefer #send over #__send__ when it is clear there is no possible conflict" 2020-11-05 20:54:34 +09:00
context.rb [ruby/irb] Drop OMIT_ON_ASSIGNMENT and add :truncate option for ECHO_ON_ASSIGNMENT 2020-09-19 05:13:08 +09:00
easter-egg.rb Revert "Prefer #send over #__send__ when it is clear there is no possible conflict" 2020-11-05 20:54:34 +09:00
extend-command.rb irb: Define extension command on the given object 2020-12-20 19:35:59 +09:00
frame.rb Remove e2mmap dependency 2019-11-25 05:38:09 +09:00
help.rb [ruby/irb] Discard newlines at end of file 2020-08-28 11:05:18 +09:00
init.rb [ruby/irb] Try not to register the exact same measuring method twice 2020-12-24 23:26:22 +09:00
input-method.rb [ruby/irb] Change StdioInputMethod#eof? to non-blocking 2020-12-23 22:08:30 +09:00
inspector.rb [ruby/irb] Enhance colored inspect output 2020-12-28 23:01:00 -08:00
irb.gemspec [ruby/irb] Add color_printer.rb to gemspec 2020-12-28 23:01:01 -08:00
locale.rb Use Reline.encoding_system_needs if exists 2020-01-14 15:40:38 +09:00
magic-file.rb
notifier.rb Remove e2mmap dependency 2019-11-25 05:38:09 +09:00
output-method.rb Remove e2mmap dependency 2019-11-25 05:38:09 +09:00
ruby-lex.rb [ruby/irb] Suppress "shadowing outer" warning 2020-12-23 21:26:25 +09:00
ruby_logo.aa [ruby/irb] Discard newlines at end of file 2020-08-28 11:05:18 +09:00
src_encoding.rb
version.rb [ruby/irb] Version 1.3.0 2020-12-25 01:29:18 +09:00
workspace.rb [ruby/irb] Change context-mode's default to new mode 4. 2020-12-17 20:24:08 +09:00
ws-for-case-2.rb
xmp.rb [ruby/irb] Prefer require_relative to load the files in this library 2020-08-18 14:38:01 +09:00