TracePoint#__enable requires 3 arguments now
This commit is contained in:
parent
62e66b8e18
commit
1eca2f3ca9
@ -77,7 +77,7 @@ ruby$target:::method-return
|
|||||||
private
|
private
|
||||||
def ruby_program
|
def ruby_program
|
||||||
<<-eoruby
|
<<-eoruby
|
||||||
TracePoint.new{}.__enable(nil, nil)
|
TracePoint.new{}.__enable(nil, nil, Thread.current)
|
||||||
class Foo
|
class Foo
|
||||||
def foo; end
|
def foo; end
|
||||||
end
|
end
|
||||||
|
@ -46,7 +46,7 @@ ruby$target:::method-return
|
|||||||
|
|
||||||
def ruby_program
|
def ruby_program
|
||||||
<<-eoruby
|
<<-eoruby
|
||||||
TracePoint.new{}.__enable(nil, nil)
|
TracePoint.new{}.__enable(nil, nil, Thread.current)
|
||||||
class Foo
|
class Foo
|
||||||
def self.foo; end
|
def self.foo; end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user