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
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