RubyGems Navigation menu

before_hooks 0.1.4

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.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.1.4 - March 06, 2019 (9.5KB)
  2. 0.1.3 - February 23, 2019 (9.5KB)
  3. 0.1.2 - February 23, 2019 (9.5KB)
  4. 0.1.1 - February 23, 2019 (9KB)
  5. 0.1.0 - February 23, 2019 (9KB)

Development依存関係 (4):

bundler ~> 1.16
byebug ~> 9.0
rake ~> 10.0
rspec ~> 3.7.0

所有者:

作者:

  • Jules Roman Polidario

SHA 256チェックサム:

= クリップボードにコピー コピー完了!

累計ダウンロード数 8,854

このバージョンのみ 2,153

ライセンス:

MIT

必要なRubyのバージョン: ~> 2.0

リンク: