Files
codeql/ruby/ql/test/query-tests/utils/modeleditor/lib/mylib.rb
2024-02-08 13:40:10 +01:00

35 lines
384 B
Ruby

require_relative "./other"
class A
def initialize(x, y)
@x = x
end
def foo(x, y, key1:, **kwargs, &block)
block.call(x, y, key2: key1)
yield x, y, key2: key1
end
def bar(x, *args)
end
def self.self_foo(x, y)
end
private
def private_1(x, y)
end
class ANested
def foo(x, y)
end
private
def private_2(x, y)
end
end
end