D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Prism
/
LocalVariableReadNode
/
Filename :
depth-i.ri
back
Copy
U:RDoc::Attr[iI" depth:ETI"'Prism::LocalVariableReadNode#depth;TI"R;T:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"dThe number of visible scopes that should be searched to find the origin of this local variable.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"foo = 1; foo # depth 0 ;TI" ;TI"$bar = 2; tap { bar } # depth 1 ;T:@format0o; ; [I"The specific rules for calculating the depth may differ from individual Ruby implementations, as they are not specified by the language. For more information, see [the Prism documentation](https://github.com/ruby/prism/blob/main/docs/local_variable_depth.md).;T: @fileI"lib/prism/node.rb;T:0@omit_headings_from_table_of_contents_below0F@I"!Prism::LocalVariableReadNode;TcRDoc::NormalClass0