Resubject makes easy to decorate your objects
-
Updated
Apr 29, 2021 - Ruby
Resubject makes easy to decorate your objects
A minimal builder for struct-like classes in Ruby
A simple wrapper for objects (think of Burgundy as a decorator/presenter) in less than 150 lines.
Powerful and elegant model presenters with a twist.
A pure implementation of the decorator pattern
Attribute decorator support for ActiveRecord models.
True Object-Oriented Decorator for either an Object or a Class
Chainable method decorators for Ruby
A simple decorator for Rails
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…
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."