class ControllerWithSymbolAsFilter

Private Instance Methods

raise_after() { || ... } click to toggle source
# File actionpack/test/controller/filters_test.rb, line 877
def raise_after
  yield
  raise After
end
raise_before() { || ... } click to toggle source
# File actionpack/test/controller/filters_test.rb, line 872
def raise_before
  raise Before
  yield
end
without_exception() { || ... } click to toggle source
# File actionpack/test/controller/filters_test.rb, line 882
def without_exception
  # Do stuff...
  wtf = 1 + 1

  yield

  # Do stuff...
  wtf += 1
end