Categories: None [Edit]

before_hooks

https://rubygems.org/gems/before_hooks
https://github.com/jrpolidario/before_hooks
Adds `before_extended`, `before_included`, and `before_prepended` methods hooks which would be called before the standard `extended`, `included`, and `prepended` Ruby hooks, respectively. Especially useful when you require to "do" something just before the module gets `extended` or `included` to a module/class. In particular, in my specific case, I needed to "do" something if a specific method already exists in the `base` class.

Total

Ranking: 87,592 of 187,571
Downloads: 9,744

Daily

Ranking: 43,003 of 187,548
Downloads: 9

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,010,000,950bundler
101,165,196,519rake
28924,848,930rspec
100424,606,183byebug

Owners

#GravatarHandle
1iconjrpolidario