Fix RuboCop Style/SelectByKind and Style/PredicateWithKind offenses
All checks were successful
CI Pipeline / build (pull_request) Successful in 1m8s

This commit is contained in:
2026-03-05 13:43:15 +01:00
parent 26e0d59cf1
commit e937552913
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ module Notare
end
def lists
@nodes.select { |n| n.is_a?(Nodes::List) }
@nodes.grep(Nodes::List)
end
def uses_lists?