Skip to content

Commit 8219465

Browse files
committed
Ruby: fix missing doc
1 parent 0626d69 commit 8219465

File tree

1 file changed

+3
-0
lines changed
  • ruby/ql/lib/codeql/ruby/frameworks

1 file changed

+3
-0
lines changed

ruby/ql/lib/codeql/ruby/frameworks/Rack.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ module Rack {
2323
isRackResponse(call.getAReturningNode())
2424
}
2525

26+
/**
27+
* Gets the environment of the request, which is the lone parameter to the `call` method.
28+
*/
2629
DataFlow::ParameterNode getEnv() { result = call.getParameter(0) }
2730
}
2831

0 commit comments

Comments
 (0)