DEV Community

Discussion on: Custom Ruby Class Macros with Class Instance Variables

Collapse
 
dmerand profile image
Donald Merand

This is a fantastic article! Instance variables on all the things is a big part of what makes Ruby so mind-blowing.

I'm curious if you've worked with the Concern approach from Rails, and what your thoughts are on the way they handle include/extend versus the "manual" approach of using def self.included(base).