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
The Definable module freezes the object once an instance is created, but the object itself must implement freeze and freeze its own state. I'd like to add a DeepFreeze refinement to pakyow/support that will be used instead. DeepFreeze will call deep_freeze on any ivars defined on the object, then freeze itself. We should also be able to remove the freeze definitions on Router and Route.
The text was updated successfully, but these errors were encountered:
I think unfreezable makes sense, but maybe defined on the scope being refined? That would let Pakyow::App register the @builder ivar as being unfreezable.
The
Definable
module freezes the object once an instance is created, but the object itself must implement freeze and freeze its own state. I'd like to add aDeepFreeze
refinement to pakyow/support that will be used instead.DeepFreeze
will calldeep_freeze
on any ivars defined on the object, then freeze itself. We should also be able to remove thefreeze
definitions onRouter
andRoute
.The text was updated successfully, but these errors were encountered: