RubyGems Navigation menu

retroactive_module_inclusion 1.1.0

This gem circumvents the "dynamic module include" (aka "double inclusion") problem, which is the fact that M.module_eval { include N } does not make the methods of module N available to modules and classes which had included module M beforehand, only to the ones that include it thereafter. This behaviour hurts the least surprise principle, specially because if K is a class, then K.class_eval { include M } *does* make all methods of M available to all classes which had previously inherited it.

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

インストール:
=

バージョン履歴:

  1. 1.2.5 - January 26, 2011 (11KB)
  2. 1.2.4 - January 24, 2011 (11KB)
  3. 1.2.3 - January 24, 2011 (11KB)
  4. 1.2.2 - January 24, 2011 (11KB)
  5. 1.2.1 - January 24, 2011 (11KB)
  6. 1.1.0 - January 22, 2011 (10.5KB)
全てのバージョンを表示(全11件)

Development依存関係 (1):

hoe >= 2.8.0

所有者:

作者:

  • Adriano Mitre

SHA 256チェックサム:

9ebc05f42c8092bbec4812adc321bfd4ee782ee22dcacce1192e88c459b0a3e6

累計ダウンロード数 36,937

このバージョンのみ 3,272

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: