Module: MethodTrace::SingletonMethodDefinition
- Included in:
- Object
- Defined in:
- lib/method_trace.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
44 45 46 47 48 49 50 |
# File 'lib/method_trace.rb', line 44 def self.included(base) base.send :include, InstanceMethods base.instance_eval do alias_method :singleton_method_added_without_method_definitions, :singleton_method_added alias_method :singleton_method_added, :singleton_method_added_with_method_definitions end end |