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 {
330330 ActiveRecordModelClass getClass ( ) { result = instantiation .getClass ( ) }
331331}
332332
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 {
335335 private ActiveRecordInstance instance ;
336336
337337 ActiveRecordInstanceMethodCall ( ) { this .getReceiver ( ) = instance }
338338
339+ /** Gets the `ActiveRecordInstance` that is the receiver of this call. */
339340 ActiveRecordInstance getInstance ( ) { result = instance }
340341}
341342
You can’t perform that action at this time.
0 commit comments