Flowdock
method

prepend_around_filter

Importance_1
prepend_around_filter(*filters, &block) public

If you prepend_around_filter A.new, B.new, the filter chain looks like:

  A#before
    B#before
      # run the action
    B#after
  A#after

With around filters which yield to the action block, #before and #after are the code before and after the yield.

Show source
Register or log in to add new notes.