mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
30 lines
273 B
Ruby
30 lines
273 B
Ruby
class C
|
|
private def private1
|
|
end
|
|
|
|
def public
|
|
end
|
|
|
|
def private2
|
|
end
|
|
private :private2
|
|
|
|
private
|
|
|
|
def private3
|
|
end
|
|
|
|
def private4
|
|
end
|
|
end
|
|
|
|
def private_on_main
|
|
end
|
|
|
|
C.new.private1
|
|
C.new.private2
|
|
C.new.private3
|
|
C.new.private4
|
|
C.new.public
|
|
|
|
private_on_main |