test/unit/cfunc-use.rb in rb-threadframe-0.39 vs test/unit/cfunc-use.rb in rb-threadframe-0.40
- old
+ new
@@ -1,9 +1,9 @@
def cfunc_loc
ftype, file = [nil, nil]
1.times do
1.times do
- f = RubyVM::ThreadFrame::current.prev
+ f = RubyVM::Frame::current.prev
ftype = f.type
file = f.source_container[1]
end
end
return [ftype, file]