Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Shush syntax warnings

  • Loading branch information...
commit ddba97fa4f10319154e77d8f5e2c3e803f08e852 1 parent 35a1750
@jeremy jeremy authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.