True Object-Oriented Decorator for either an Object or a Class
-
Updated
Jul 16, 2024 - Ruby
True Object-Oriented Decorator for either an Object or a Class
A simple wrapper for objects (think of Burgundy as a decorator/presenter) in less than 150 lines.
DecoLite is a little gem that allows you to use the provided DecoLite::Model class to dynamically create Decorator class objects. Use the DecoLite::Model class directly, or inherit from the DecoLite::Model class to create your own unique subclasses with custom functionality. DecoLite::Model includes ActiveModel::Model, so validation can be appli…
A minimal builder for struct-like classes in Ruby
Chainable method decorators for Ruby
Resubject makes easy to decorate your objects
Attribute decorator support for ActiveRecord models.
Powerful and elegant model presenters with a twist.
A pure implementation of the decorator pattern
A simple decorator for Rails
Add a description, image, and links to the decorator topic page so that developers can more easily learn about it.
To associate your repository with the decorator topic, visit your repo's landing page and select "manage topics."