# How To Use The Decorator Pattern in Ruby

**URL:** <https://metaruby.com/t/how-to-use-the-decorator-pattern-in-ruby/1699>\
**Category:** Learning Ruby\
**Tags:** ruby\
**Created:** [May 20, 2018, 11:43am UTC](https://metaruby.com/t/how-to-use-the-decorator-pattern-in-ruby/1699 "2018-05-20T11:43:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesus\_castello](https://metaruby.com/user_avatar/metaruby.com/jesus_castello/32/1062_2.png) [@jesus\_castello](https://metaruby.com/u/jesus_castello)\
**Post date:** [May 20, 2018, 11:43am UTC](https://metaruby.com/t/how-to-use-the-decorator-pattern-in-ruby/1699/1 "2018-05-20T11:43:26Z")

</div>

Hey,

If you’d like to improve your Ruby code you may enjoy this article:

> **[The Decorator Design Pattern in Ruby - RubyGuides](https://www.rubyguides.com/2018/04/decorator-pattern-in-ruby/)**
>
> What is the decorator design pattern? And how can you use this pattern in your Ruby projects? The decorator design pattern helps you enhance an object by adding new capabilities to it without having to change the

Thanks for reading 🙂
