Module: SupportSegment::MethodDecorator
- Defined in:
- lib/support_segment/method_decorator.rb
Instance Method Summary collapse
Instance Method Details
#after(method, &block) ⇒ Object
8 9 10 |
# File 'lib/support_segment/method_decorator.rb', line 8 def after(method, &block) decorate(method, :after, block) end |
#around(method, &block) ⇒ Object
12 13 14 |
# File 'lib/support_segment/method_decorator.rb', line 12 def around(method, &block) decorate(method, :around, block) end |
#before(method, &block) ⇒ Object
4 5 6 |
# File 'lib/support_segment/method_decorator.rb', line 4 def before(method, &block) decorate(method, :before, block) end |