Fix RuboCop Style/SelectByKind and Style/PredicateWithKind offenses
CI Pipeline / build (pull_request) Successful in 1m8s
CI Pipeline / build (pull_request) Successful in 1m8s
This commit is contained in:
1 parent
26e0d59cf1
commit
e937552913
2 files changed
+2
-2
No files matched your search
@@ -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?
|
||||
|
||||
Reference in new issue
Block a user