Skip to content

Commit

Permalink
Cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gcao committed Jan 1, 2013
1 parent 032c872 commit df4d278
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/aspector/base.rb
Expand Up @@ -341,7 +341,7 @@ def aop_recreate_method_with_advices method, before_advices, after_advices, arou
aspect.aop_logger.log <%= Logging::TRACE %>, '<%= method %>', 'exit-method-due-to-before-filter', '<%= advice.name %>' aspect.aop_logger.log <%= Logging::TRACE %>, '<%= method %>', 'exit-method-due-to-before-filter', '<%= advice.name %>'
% end % end
return return
end end
% end % end
% end % end
Expand All @@ -351,11 +351,7 @@ def aop_recreate_method_with_advices method, before_advices, after_advices, arou
aspect.aop_logger.log <%= Logging::TRACE %>, '<%= method %>', 'before-invoke-advice', '<%= around_advice.name %>' aspect.aop_logger.log <%= Logging::TRACE %>, '<%= method %>', 'before-invoke-advice', '<%= around_advice.name %>'
% end % end
% if around_advice.advice_code % if around_advice.advice_code
result = result = (<%= around_advice.advice_code.gsub('INVOKE_PROXY', 'wrapped_method.bind(self).call(*args, &block)') %>)
(
<%= around_advice.advice_code.gsub('INVOKE_PROXY',
'wrapped_method.bind(self).call(*args, &block)')
%>)
% else % else
% if aop_logger.visible?(Logging::TRACE) % if aop_logger.visible?(Logging::TRACE)
Expand Down

0 comments on commit df4d278

Please sign in to comment.