We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
*::ViewComponent::Events#subscriptions
flat_map
1 parent d31ec60 commit beee8c9Copy full SHA for beee8c9
lib/datadog/tracing/contrib/view_component/events.rb
@@ -19,7 +19,7 @@ def all
19
end
20
21
def subscriptions
22
- all.collect(&:subscriptions).collect(&:to_a).flatten
+ all.collect(&:subscriptions).flat_map(&:to_a)
23
24
25
def subscribe!
0 commit comments