Module: Fiveruns::Tuneup::Instrumentation::ActionController::Base::ClassMethods

Defined in:
lib/fiveruns/tuneup/instrumentation/action_controller/base.rb

Instance Method Summary collapse

Instance Method Details

#cache_page_with_fiveruns_tuneup(*args, &block) ⇒ Object



10
11
12
13
14
# File 'lib/fiveruns/tuneup/instrumentation/action_controller/base.rb', line 10

def cache_page_with_fiveruns_tuneup(*args, &block)
  Fiveruns::Tuneup.step "Cache page", :controller do
    cache_page_without_fiveruns_tuneup(*args, &block)
  end
end

#expire_page_with_fiveruns_tuneup(*args, &block) ⇒ Object



15
16
17
18
19
# File 'lib/fiveruns/tuneup/instrumentation/action_controller/base.rb', line 15

def expire_page_with_fiveruns_tuneup(*args, &block)
  Fiveruns::Tuneup.step "Expire cached page", :controller do
    expire_page_without_fiveruns_tuneup(*args, &block)
  end
end