module PrivatePlease ; module Tracking module Extension def private_please(*methods_to_observe) parameterless_call = methods_to_observe.empty? klass = self if parameterless_call klass.send :include, PrivatePlease::Tracking::InstrumentsAllBelow else Instrumentor.instrument_instance_methods_for_pp_observation(klass, methods_to_observe) end end end end end