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: 88,314 of 192,034
Downloads: 10,084

Daily

Ranking: 33,235 of 191,980
Downloads: 11

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,331,464,298bundler
81,288,231,282rake
29969,610,563rspec
102451,695,870byebug

Owners

#GravatarHandle
1iconjrpolidario