Project

General

Profile

Feature #15915

Updated by sawa (Tsuyoshi Sawada) over 4 years ago

I cannot think of any no way to get `@1` in from meta-programming, so it debugger is hard to inspect it in a debugger. it. 

 ~~~ 
 % ruby -e 'proc{@1;binding.local_variable_get("@1")}.call(1)' 
 Traceback (most recent call last): 
	 2: from -e:1:in `<main>' 
	 1: from -e:1:in `block in <main>' 
 -e:1:in `local_variable_get': wrong local variable name `@1' for #<Binding:0x00007f952401e490> (NameError) 
 ~~~

Back