Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 285 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 285 Bytes

value_objects_example

An example Rails app that uses Value Objects.

The master branch demonstrates an Activity model which calculates a duration (in minutes).

The extract-value-objects branch shows how that same model can be refactored to use Value Objects.