Updates Ruby syntax

* Moves from older Ruby’s hash rocket syntax to newer syntax