You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A sub class may redefine a key or value already used by a parent class; its own definition takes precedence.
273
+
A sub class may redefine a key or value already used by a parent class without raising `DuplicateKeyError` or `DuplicateValueError`; its own definition takes precedence.
274
+
275
+
```ruby
276
+
classShippedOrderState < OrderState
277
+
define :CREATED, 'RECREATED'# does not raise, overrides the parent class' definition
0 commit comments