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 58dd521 commit 1d728b2Copy full SHA for 1d728b2
ruby/ql/test/library-tests/modules/callgraph.expected
@@ -394,3 +394,4 @@ publicMethod
394
| private.rb:20:3:21:5 | public2 |
395
| private.rb:46:3:47:5 | public |
396
| private.rb:71:3:73:5 | call_m1 |
397
+protectedMethods
ruby/ql/test/library-tests/modules/callgraph.ql
@@ -7,3 +7,5 @@ query predicate unresolvedCall(Call call) { not exists(call.getATarget()) }
7
query predicate privateMethod(MethodBase m) { m.isPrivate() }
8
9
query predicate publicMethod(MethodBase m) { m.isPublic() }
10
+
11
+query predicate protectedMethods(MethodBase m) { m.isProtected() }
0 commit comments