D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Prism
/
LocalVariableWriteNode
/
Filename :
depth-i.ri
back
Copy
U:RDoc::Attr[iI" depth:ETI"(Prism::LocalVariableWriteNode#depth;TI"R;T:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"`The number of semantic scopes we have to traverse to find the declaration of this variable.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"foo = 1 # depth 0 ;TI" ;TI"tap { foo = 1 } # 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::LocalVariableWriteNode;TcRDoc::NormalClass0