class Aquarium::Aspects::AroundAdviceChainNode

Public Class Methods

new(options = {}) click to toggle source
Calls superclass method Aquarium::Aspects::AdviceChainNode::new
    # File lib/aquarium/aspects/advice.rb
261 def initialize options = {}
262   super options
263 end

Public Instance Methods

advice_wrapper(jp) click to toggle source
    # File lib/aquarium/aspects/advice.rb
264 def advice_wrapper jp
265   update_current_context jp
266   jp.context.advice_kind = :around
267   jp.context.proceed_proc = next_node
268   result = call_advice jp
269   reset_current_context jp
270   result
271 end