Module: Combineable::IncludeInvader

Defined in:
lib/combineable.rb

Instance Method Summary collapse

Instance Method Details

#include(mod) ⇒ Object



56
57
58
59
# File 'lib/combineable.rb', line 56

def include(mod)
  super
  __recheck_combos(self)
end

#wait_on(combination) ⇒ Object



61
62
63
64
# File 'lib/combineable.rb', line 61

def wait_on(combination)
  @module_combinations ||= []
  @module_combinations << combination
end