module Orientdb4r::Aop2
TODO extend it to work with already defined methods ('before :foo, :baz' after method definition) [BF #21]
Public Class Methods
included(base)
click to toggle source
# File lib/orientdb4r/utils.rb, line 92 def self.included(base) base.extend ClassMethods2 base.init_aop_extension end
Public Instance Methods
aop_context()
click to toggle source
# File lib/orientdb4r/utils.rb, line 97 def aop_context Thread.current[:aop2_context] end
aop_context=(ctx={})
click to toggle source
# File lib/orientdb4r/utils.rb, line 100 def aop_context=(ctx={}) Thread.current[:aop2_context] = ctx end