mirror of
https://github.com/github/codeql.git
synced 2026-01-06 03:00:24 +01:00
9 lines
132 B
Ruby
9 lines
132 B
Ruby
class View2 < ViewComponent::Base
|
|
def foo
|
|
sink(@x) # $ hasValueFlow=3
|
|
end
|
|
|
|
def set(x)
|
|
@x = x
|
|
end
|
|
end |