Closed kazzix14 closed 10 months ago
Like this one.
class MyEnum extend Mangrove::Enum variants do variant V0, [MyModel, Integer] end end
The reason is Hash#to_s and Array#to_s is an alias of #inspect, which calls its children's SomeClass#inspect.
Hash#to_s
Array#to_s
#inspect
SomeClass#inspect
this is fixed by #10
Like this one.
The reason is
Hash#to_s
andArray#to_s
is an alias of#inspect
, which calls its children'sSomeClass#inspect
.