mirror of
https://github.com/github/codeql.git
synced 2026-01-06 03:00:24 +01:00
26 lines
377 B
Ruby
26 lines
377 B
Ruby
class App
|
|
def run1
|
|
x = source(1)
|
|
view = View1.new(x)
|
|
render(view)
|
|
end
|
|
|
|
def run2
|
|
view = View2.new
|
|
render(view)
|
|
view.foo
|
|
end
|
|
|
|
def run3
|
|
x = source(4)
|
|
view = View3.new(x)
|
|
render(view)
|
|
end
|
|
|
|
def run4
|
|
x = source(5)
|
|
view = View4.new(x)
|
|
render(view)
|
|
end
|
|
end
|