Module: Oink::MemoryUsageLogger

Defined in:
lib/oink/rails/memory_usage_logger.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



5
6
7
8
9
# File 'lib/oink/rails/memory_usage_logger.rb', line 5

def self.included(klass)
  klass.class_eval do
    around_filter :log_memory_usage
  end
end