Skip to content
Browse files

Shush syntax warnings

  • Loading branch information...
1 parent 35a1750 commit ddba97fa4f10319154e77d8f5e2c3e803f08e852 @jeremy jeremy committed Sep 28, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 activesupport/lib/active_support/tagged_logging.rb
View
6 activesupport/lib/active_support/tagged_logging.rb
@@ -18,10 +18,10 @@ def initialize(logger)
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 @@ def tags_text
def current_tags
Thread.current[:activesupport_tagged_logging_tags] ||= []
end
- end
+ end
end

0 comments on commit ddba97f

Please sign in to comment.
Something went wrong with that request. Please try again.