Value Object Semantics in Ruby
Value objects are richer domain objects that typically replace the use of a primitive. For example, we might have a Duration class that represents an amount of time instead of representing this value as a raw integer (this is separate from the core Time class that represents a moment in time).
Value Object Semantics in Ruby #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/value-object-semantics-in-ruby