Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Remove SessionHash inheritance from Hash
Previous api provided by SessionHash was inconsistent. All methods provided by Hash which were not rewritten in SessionHash were behaving incorrectly when session was not loaded yet. For example, #replace, #each, #keep_if and many more. So by dropping Hash inheritance we provide clean api with all methods working without regard to whether session was loaded or not.
- Loading branch information
Showing
1 changed file
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters