Consider a Module
to be displayed similar to a Class
, as a "primitive"
#255
Labels
Module
to be displayed similar to a Class
, as a "primitive"
#255
SuperDiff version: 0.12.1 (newest release available)
An inspected
Module
is not displayed with its name, but with its instance variables etc. (by...::InstanceTreeBuilders::DefaultObject
).This is different from a
Class
, which is aSuperDiff.primitive?
, and therefore displayed by...::InstanceTreeBuilders::Primitive
, with (only) its name.The ugly output can be seen at an RSpec example description (
rspec --format doc ...
) that is auto-generated from abe_a
matcher:is shown as
If (only) either
SuperDiff.primitive?
orPrimitive.applies_to?
is patched to (additionally) returntrue
for aModule === value
, then the output looks better:The text was updated successfully, but these errors were encountered: