From Hash to Value Object

Join guest chef Tom Dalling to see how Value Objects can function as contracts, documenting expectations at the integration points of our code. Along…

Deep Freeze

Freezing a Ruby object can leave you skating on thin ice. Learn how to render complex Ruby objects totally immutable.

Values

Quick, easy, minimal immutable Value Objects in Ruby

Unitwise

As our series on representing physical quantities draws to a close, we turn our attention to existing libraries, specifically the Unitwise gem.

Surrogate Ordering

It's often desirable compare objects to see which is "lesser" or "greater"; but not all objects are inherently comparable. Today we'll look at a schem…

Equalizer

We know that Value Objects are useful; today we'll meet a gem that makes them easier to build.

Type and Class

Where do we draw the line between objects differntiated only by state, and objects differentiated by their class? That's the question we'll examine in…

Adamantium

Today we learn about Ruby gem that makes it easier to build immutable value objects.