From ddba97fa4f10319154e77d8f5e2c3e803f08e852 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 28 Sep 2012 09:56:49 -0700 Subject: Shush syntax warnings --- activesupport/lib/active_support/tagged_logging.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/tagged_logging.rb b/activesupport/lib/active_support/tagged_logging.rb index cb5c775a22..7e7f7ecfb2 100644 --- a/activesupport/lib/active_support/tagged_logging.rb +++ b/activesupport/lib/active_support/tagged_logging.rb @@ -18,10 +18,10 @@ module ActiveSupport end def tagged(*tags) - new_tags = push_tags *tags + new_tags = push_tags(*tags) yield self ensure - pop_tags new_tags.size + pop_tags(new_tags.size) end def push_tags(*tags) @@ -76,5 +76,5 @@ module ActiveSupport def current_tags Thread.current[:activesupport_tagged_logging_tags] ||= [] end - end + end end -- cgit v1.2.3