mirror of
https://github.com/github/codeql.git
synced 2026-02-18 16:03:45 +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 |