File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
ruby/ql/lib/codeql/ruby/frameworks Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -330,12 +330,13 @@ class ActiveRecordInstance extends DataFlow::Node {
330
330
ActiveRecordModelClass getClass ( ) { result = instantiation .getClass ( ) }
331
331
}
332
332
333
- // A call whose receiver may be an active record model object
334
- private class ActiveRecordInstanceMethodCall extends DataFlow:: CallNode {
333
+ /** A call whose receiver may be an active record model object */
334
+ class ActiveRecordInstanceMethodCall extends DataFlow:: CallNode {
335
335
private ActiveRecordInstance instance ;
336
336
337
337
ActiveRecordInstanceMethodCall ( ) { this .getReceiver ( ) = instance }
338
338
339
+ /** Gets the `ActiveRecordInstance` that is the receiver of this call. */
339
340
ActiveRecordInstance getInstance ( ) { result = instance }
340
341
}
341
342
You can’t perform that action at this time.
0 commit comments