Created
September 7, 2020 09:59
-
-
Save Konstantinusz/0f49bf321bae3299c5c0fdce1705e8d5 to your computer and use it in GitHub Desktop.
Redundancia csökkentése
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
nevnapok=nevnapok.map{|k,v| [k,v["t"] ? {"t"=>v["t"]} : {"n"=>v["n"],"s"=>v["s"]}]}.sort_by{|k,v| k.unicode_normalize(:nfd)}.to_h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment