Closed gi closed 3 years ago
The values class method does not inherit the defined enum values from the parent class.
values
class A include Ruby::Enum define :X, 'X' end class B < A include Ruby::Enum define :Y, 'Y' end
I would expect:
B.values() == [B::X, B::Y]
yet
B.values() == [B::Y]
Yep, looks like it. Would love a fix!
The
values
class method does not inherit the defined enum values from the parent class.I would expect:
yet