Module: Dunder::Instance

Defined in:
lib/dunder.rb

Overview

olabini.com/blog/2011/01/safeer-monkey-patching/ This also works for Class methods since: Class.ancestors => [Class, Module, Object, Kernel, BasicObject]

Instance Method Summary collapse

Instance Method Details

#dunder_load(group = nil) ⇒ Object



145
146
147
# File 'lib/dunder.rb', line 145

def dunder_load(group = nil)
  Dispacter.new(self,group)
end