class Aquarium::Aspects::BeforeAdviceChainNode

Public Class Methods

new(options = {}) click to toggle source
# File lib/aquarium/aspects/advice.rb, line 168
def initialize options = {}
  super options 
end

Public Instance Methods

advice_wrapper(jp) click to toggle source
# File lib/aquarium/aspects/advice.rb, line 171
def advice_wrapper jp
  update_current_context jp
  jp.context.advice_kind = :before
  call_advice jp
  reset_current_context jp
  next_node.call jp
end