method
tagged
v3.2.1 -
Show latest stable
- Class:
ActiveSupport::TaggedLogging
tagged(*new_tags)public
No documentation available.
# File activesupport/lib/active_support/tagged_logging.rb, line 21
def tagged(*new_tags)
tags = current_tags
new_tags = Array.wrap(new_tags).flatten.reject(&:blank?)
tags.concat new_tags
yield
ensure
new_tags.size.times { tags.pop }
end