Value Object Semantics in Ruby
22-Jul-2022 1007
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 #Value #Object #Semantics https://rubyonrails.ba/link/value-object-semantics-in-ruby