Sometimes, your objects are only data and no behaviour. These are value objects, and they are defined by their _contents_. These objects are immutable, so it is safe to let them propagate throughout the system. Being immutable, value objects cannot be modified; their contents are set once on initialisation. Also, being identified by their contents, two entities with the same contents are considered equal.
Required Ruby Version
>= 0
Authors
Arjan van der Gaag
Versions
-
0.5.0
-
source
- 0.5.0 source August 04, 2015 (9.5 KB)
-
-
0.4.0
-
source
- 0.4.0 source July 31, 2015 (9.5 KB)
-
-
0.3.0
-
source
- 0.3.0 source July 30, 2015 (9 KB)
-
-
0.2.0
-
source
- 0.2.0 source July 13, 2015 (9 KB)
-
-
0.1.0
-
source
- 0.1.0 source July 10, 2015 (9 KB)
-