Uncategorized

UI/UX Design Practices

Welcome to WordPress. This is your first post. Edit or delete it, then start writing! Related Posts Strategic Benefits of SaaS for businesses How to Add Functionality to Ruby Classes with Decorators Designing & Architecting Rails Apps

How to Add Functionality to Ruby Classes with Decorators

Decorators allow us to add behavior to objects in runtime and don’t affect other objects of the class. Decorators can be applied when you need to dynamically add and remove responsibility to a class. The decorator pattern is a helpful alternative to creating sub-classes. They give additional functionality to a class while still keeping the …

How to Add Functionality to Ruby Classes with Decorators Read More »