Ruby SuperModule Comes To The Rescue!!
Tired of Ruby’s modules not allowing you to mix in class methods easily? Tired of writing complex code and using complex libraries like ActiveSupport::Concern to accomplish that goal?
Well, worry no more! SuperModule comes to the rescue!!
SuperModule allows defining class methods and method invocations the same way a super class does without using def included(base).
This succeeds ActiveSupport::Concern by offering lighter syntax and simpler module dependency support.
Post a comment