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,075 of 189,933
Downloads: 9,973

Daily

Ranking: 39,931 of 189,920
Downloads: 9

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,219,693,676bundler
81,248,043,640rake
29954,622,386rspec
102442,777,885byebug

Owners

#GravatarHandle
1iconjrpolidario