aspect4r icon indicating copy to clipboard operation
aspect4r copied to clipboard

Aspect Oriented Programming for Ruby

Results 16 aspect4r issues
Sort by recently updated
recently updated
newest added

Maybe would be good to remove it since there's an aspector? It can be confusing when you see two similar repos

Default to false If set to true, the advice will be applied to private and protected methods too. When :private_methods is set to true, :protected_methods option is set to true...

Default to true Affect advices using regular expressions

Affect advices using regular expressions

a4r_remove_advices: will remove advices with given names. If no name is given, all advices are removed.

Inherit advices: add option :inherit to all advices. Advices whose :inherit options are set to true will be copied to child modules/classes. By default :inherit is set to false.

Advice name: each advice can take a :name option. If no name is given, the advice method name is used as the advice name. If advice logic is in a...

Advices are stored in an array. Whenever a method is created, the whole array is checked to find the advices that are applicable to it. Those applicable advices are used...

Wrap around advice with before/after advices in same group. This will save unnecessary method call and improve performance when around advice is involved.

Define an event listener interface When an event occurs, call registered event listener with event type and context Event type can be method_definition, advice_definition, method_invocation, advice_invocation, method_return, advice_return etc Debugger...