Class: Seasar::Aop::Aspect

Inherits:
Object
  • Object
show all
Defined in:
lib/seasar/aop/aspect.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(interceptor, pointcut) ⇒ Aspect

Returns a new instance of Aspect.



23
24
25
26
# File 'lib/seasar/aop/aspect.rb', line 23

def initialize(interceptor, pointcut)
  @interceptor = interceptor
  @pointcut = pointcut
end

Instance Attribute Details

#interceptorObject

Returns the value of attribute interceptor.



27
28
29
# File 'lib/seasar/aop/aspect.rb', line 27

def interceptor
  @interceptor
end

#pointcutObject

Returns the value of attribute pointcut.



27
28
29
# File 'lib/seasar/aop/aspect.rb', line 27

def pointcut
  @pointcut
end