Skip to content

Commit 863af47

Browse files
refactor: Auto-fix with new rubocop version
1 parent 0ef1bc1 commit 863af47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/lanalytics/metric/base.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def resolve(name)
2121
def all
2222
Rails.root.join('lib/lanalytics/metric')
2323
.to_enum(:each_child)
24-
.map { _1.basename.to_s.split('.').first.camelize }
24+
.map { it.basename.to_s.split('.').first.camelize }
2525
.sort
26-
.reject { IGNORED_METRIC_CLASSES.include? _1 }
26+
.reject { IGNORED_METRIC_CLASSES.include? it }
2727
end
2828
end
2929

0 commit comments

Comments
 (0)