Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Oct 5, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Fryguy and others added 10 commits October 5, 2025 15:13
…core

This supports the new `instance_variables_to_inspect` method from Ruby
core that was added in #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`.

ruby/pp@9cea466c95
* It was showing on require 'pp':
  lib/pp.rb:525: warning: constant ::Data is deprecated
* Fixes ruby/pp#51

ruby/pp@4fd8f4e0bb
These methods are defined for built-in `Set` class on Ruby 3.5.

ruby/pp@352081dbbf
(ruby/pp#43)

Ruby 3.5 will use `Set[1, 2, 3]`. This updates pp to use the same format.

ruby/pp@507eebf711
TODO: Revert when dropping Ruby 2.7 support.

ruby/pp@feb417e152
@pull pull bot locked and limited conversation to collaborators Oct 5, 2025
@pull pull bot added the ⤵️ pull label Oct 5, 2025
@pull pull bot merged commit ab49e8a into turkdevops:master Oct 5, 2025
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants