Class: Interceptors::Interceptor
- Inherits:
-
Object
- Object
- Interceptors::Interceptor
show all
- Defined in:
- lib/interceptors/interceptor.rb
Instance Method Summary
collapse
Instance Method Details
#after(_ctx, result) ⇒ Object
7
|
# File 'lib/interceptors/interceptor.rb', line 7
def after(_ctx, result); result; end
|
#around(ctx) {|ctx| ... } ⇒ Object
9
10
11
|
# File 'lib/interceptors/interceptor.rb', line 9
def around(ctx)
yield ctx
end
|
#before(_ctx) ⇒ Object
5
|
# File 'lib/interceptors/interceptor.rb', line 5
def before(_ctx); end
|