Module: InstrumentAllTheThings::Helpers

Defined in:
lib/instrument_all_the_things/helpers.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(other_class) ⇒ Object



51
52
53
54
55
56
# File 'lib/instrument_all_the_things/helpers.rb', line 51

def self.included(other_class)
  other_class.extend(ClassMethods)

  InstrumentAllTheThings::MethodProxy.for_class(other_class)
  InstrumentAllTheThings::MethodProxy.for_class(other_class.singleton_class)
end