This example shows how to use Ruby's OpenStruct to create an object that can have attributes added or changed anytime. We start by creating an empty OpenStruct object called person. Then we add a name attribute with 'Alice' and an age attribute with 30. When we print these attributes, we get 'Alice' and '30' as output. OpenStruct lets you add new properties on the fly and access them easily. If you try to read an attribute that was never set, it returns nil instead of causing an error. This makes OpenStruct useful for flexible data objects.