Install ruby-recursive-open-struct by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-recursive-open-struct
Description:
OpenStruct subclass that returns nested hash attributes as RecursiveOpenStructs
RecursiveOpenStruct is a subclass of OpenStruct. It differs from OpenStruct in that it allows nested hashes to be treated in a recursive fashion.
Homepage: http://github.com/aetherknight/recursive-open-struct
Version: 1.1.0-1
Section: universe/ruby