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.
1 parent 0ef1bc1 commit 863af47Copy full SHA for 863af47
lib/lanalytics/metric/base.rb
@@ -21,9 +21,9 @@ def resolve(name)
21
def all
22
Rails.root.join('lib/lanalytics/metric')
23
.to_enum(:each_child)
24
- .map { _1.basename.to_s.split('.').first.camelize }
+ .map { it.basename.to_s.split('.').first.camelize }
25
.sort
26
- .reject { IGNORED_METRIC_CLASSES.include? _1 }
+ .reject { IGNORED_METRIC_CLASSES.include? it }
27
end
28
29
0 commit comments