CODE: getter and setter redefinition

Ruby uses a custom syntax for getter and setter methods.
The code has been reviewed in order to be compliant to
the standard.