Module: Prependable

Defined in:
lib/core-uncommon/facets/module/prepend.rb

Defined Under Namespace

Modules: Self

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
# File 'lib/core-uncommon/facets/module/prepend.rb', line 3

def self.included(base)
  base.extend Self
  base.instance_methods(false).each do |meth|
    base.method_added(meth)
  end
end