Skip to content

Commit

Permalink
Cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gcao committed Feb 2, 2012
1 parent 8766a63 commit 8f9b70a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/aspector/base.rb
Expand Up @@ -237,16 +237,16 @@ def recreate_method_with_advices method, before_advices, after_advices, around_a
elsif advice.options[:method_name_arg]
if advice.options[:result_arg]
%>
result = <%= advice.with_method %> '<%= method %>', result, *args
result = <%= advice.with_method %> '<%= method %>', result, *args
<% else %>
<%= advice.with_method %> '<%= method %>', *args
<%= advice.with_method %> '<%= method %>', *args
<% end
else
if advice.options[:result_arg]
%>
result = <%= advice.with_method %> result, *args
result = <%= advice.with_method %> result, *args
<% else %>
<%= advice.with_method %> *args
<%= advice.with_method %> *args
<% end
end
end
Expand Down

0 comments on commit 8f9b70a

Please sign in to comment.