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: 86,954 of 186,883
Downloads: 9,580

Daily

Ranking: 80,631 of 186,872
Downloads: 6

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,910,439,083bundler
101,129,820,239rake
27910,134,422rspec
98415,060,684byebug

Owners

#GravatarHandle
1iconjrpolidario