Module: Errplane::Rails::Instrumentation::ClassMethods
- Defined in:
- lib/errplane/rails/instrumentation.rb
Instance Method Summary collapse
Instance Method Details
#instrument(methods = []) ⇒ Object
20 21 22 23 |
# File 'lib/errplane/rails/instrumentation.rb', line 20 def instrument(methods = []) methods = [methods] unless methods.is_a?(Array) around_filter :benchmark_for_instrumentation, :only => methods end |