include vs extend, included vs extended vs inherited callbacks in ruby Meta programming

include: By using this methods get included as instance methods of the included module in the including class/module. extend: By using this methods get included as class methods of the module/class inside the extending class/module. extended: This methods inside the extended class on extending this class/module. included: This method inside the included class on includingContinue reading “include vs extend, included vs extended vs inherited callbacks in ruby Meta programming”