Skip to content

Commit a977cb2

Browse files
committed
Kernel#untrace_var’s second argument is optional
1 parent e054fc2 commit a977cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/ruby/core/kernel.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ def trace_var(name, cmd = nil, &block)
559559
end
560560
module_function :trace_var
561561

562-
def untrace_var(name, cmd)
562+
def untrace_var(name, cmd=undefined)
563563
# Truffle: not yet implemented
564564
end
565565
module_function :untrace_var

0 commit comments

Comments
 (0)