Class: Copland::InterceptorChainBuilder::InvocationContext
- Inherits:
-
Struct
- Object
- Struct
- Copland::InterceptorChainBuilder::InvocationContext
- Defined in:
- lib/copland/interceptor-chain.rb
Overview
The context of a method invocation. This is used in an interceptor chain to encapsulate the elements of the current invocation. sym: the name of the method being invoked args: the argument list being passed to the method block: the reference to the block attached to the method invocation
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#block ⇒ Object
Returns the value of attribute block.
-
#sym ⇒ Object
Returns the value of attribute sym.
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
47 48 49 |
# File 'lib/copland/interceptor-chain.rb', line 47 def args @args end |
#block ⇒ Object
Returns the value of attribute block
47 48 49 |
# File 'lib/copland/interceptor-chain.rb', line 47 def block @block end |
#sym ⇒ Object
Returns the value of attribute sym
47 48 49 |
# File 'lib/copland/interceptor-chain.rb', line 47 def sym @sym end |