[Snipet] Ruby Hash dot syntax

RUBY HASH DOT NOTATION
While coding in Js, I just realized that it would be awesome if Ruby hash can use dot syntax like Js object. So I googled for the answer. And I found a way to do it with simple line of codes. It would be useful for some coders, I guess.
You can grab it here: Pastebin
​
This kinda makes the script harder to read since we don't know if the object is hash or not, but I like the idea
Yea, we may use old way in a big script. 😀

Original thread: https://forums.rpgmakerweb.com/threads/snipet-ruby-hash-dot-syntax.96187/