Create "immutable" objects. No setters, just getters!
27-Aug-2020 1459
This gem allows you to define "immutable" objects, and your objects will have only getters and no setters. So, if you change [1] [2] some object attribute, you will have a new object instance. That is, you transform the object instead of modifying it.
Create "immutable" objects. No setters, just getters! #ruby #rubydeveloper #rubyonrails #Create #"immutable" #objects. #setters, #getters! https://rubyonrails.ba/link/create-immutable-objects-no-setters-just-getters