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.
A pure implementation of the decorator pattern
Powerful and elegant model presenters with a twist.
Attribute decorator support for ActiveRecord models.
Chainable method decorators for Ruby
True Object-Oriented Decorator for either an Object or a Class
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 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."