Module#added
The added gem is a small library that unifies Ruby’s extended, included and prepended module hooks into a single added one, which will be run for all instances that include the module.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
The added gem is a small library that unifies Ruby’s extended, included and prepended module hooks into a single added one, which will be run for all instances that include the module.
Post a comment