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: 89,533 of 197,085
Downloads: 10,419

Daily

Ranking: 28,078 of 197,066
Downloads: 5

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,796,160,121bundler
81,428,256,062rake
291,025,379,194rspec
108482,670,876byebug

Owners

#GravatarHandle
1iconjrpolidario