Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/include_complete.rb
Instance Method Summary collapse
-
#extend_complete(*mods) ⇒ Object
extend modules (and their singletons) into an inheritance chain.
Instance Method Details
#extend_complete(*mods) ⇒ Object
extend modules (and their singletons) into an inheritance chain
59 60 61 |
# File 'lib/include_complete.rb', line 59 def extend_complete(*mods) class << self; self; end.send(:include_complete, *mods) end |