debug_inspector
debug_inspector copied to clipboard
Make unit tests work with Ruby 3.4
In Ruby versions up to 3.3, a label included just the method name.
Since Ruby version 3.4, if a method has an owner, e.g. a class, the label is of the form Owner#method.
To add Ruby 3.4 compatibility, this PR softens up the predicate so it accepts either form.
Fixes #41.