diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2012-09-28 09:56:49 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2012-09-28 09:56:49 -0700 |
commit | ddba97fa4f10319154e77d8f5e2c3e803f08e852 (patch) | |
tree | 19bddca290936a33dd4b9cb12a0c552a462d108f /activesupport/lib | |
parent | 35a17502b6054ab6d6407c0af902a441e8ae8215 (diff) | |
download | rails-ddba97fa4f10319154e77d8f5e2c3e803f08e852.tar.gz rails-ddba97fa4f10319154e77d8f5e2c3e803f08e852.tar.bz2 rails-ddba97fa4f10319154e77d8f5e2c3e803f08e852.zip |
Shush syntax warnings
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/tagged_logging.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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 |