RubyGems Navigation menu

retroactive_module_inclusion 1.2.5

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 (11.0 KB)
  2. 1.2.4 - January 24, 2011 (11.0 KB)
  3. 1.2.3 - January 24, 2011 (11.0 KB)
  4. 1.2.2 - January 24, 2011 (11.0 KB)
  5. 1.2.1 - January 24, 2011 (11.0 KB)
顯示所有版本(共 11)

Development 相依性套件 (1):

hoe >= 2.8.0

擁有者:

作者:

  • Adriano Mitre

SHA 256 checksum:

6c73e6aff0468aa582a674aeac3d01178a1f9623caa89a5cbbd4d29523d617cd

總下載次數 36,629

這個版本 4,283

License:

Ruby 版本需求:

相關連結: