Project

General

Profile

« Previous | Next » 

Revision 80a18e8f

Added by Fryguy (Jason Frey) 2 days ago

[ruby/pp] Support new instance_variables_to_inspect method from Ruby core

This supports the new instance_variables_to_inspect method from Ruby
core that was added in ruby/ruby#13555.

If instance_variables_to_inspect is defined, then
pretty_print_instance_variables will use it.

Additionally, this commit introduces tests for both
pretty_print_instance_variables and instance_variables_to_inspect.

https://github.com/ruby/pp/commit/9cea466c95